GithubHelp home page GithubHelp logo

Comments (11)

CRThaze avatar CRThaze commented on July 2, 2024

+1

in our case force update doesn't seem to do anything to the local database (as seen by opening it with a sqlite client), and it requires the deletion of the local db file for it to actually set up the correct data.

from pkgin.

pagodajosh avatar pagodajosh commented on July 2, 2024

Same issue. After scouring the code base the only hypothesis I have left is that the command to insert the packages into the database is failing silently. The message updating database: 100% indicates that pkgin thinks that it is inserting records (even though no records are added in pkgin.db).

from pkgin.

iMilnb avatar iMilnb commented on July 2, 2024

Hi all, could you please provide pkgin version, repository address and OS used?

Thanks a lot for the feedbacks

from pkgin.

CRThaze avatar CRThaze commented on July 2, 2024

We're using: pkgin 0.6.3.1.1 for SunOS-5.11 x86_64 (using SQLite 3.7.15.2)
It's running on a SmartOS SmartMachine.

The repository however is a private repository running on our internal network.

from pkgin.

pagodajosh avatar pagodajosh commented on July 2, 2024

As a clarification, we saw this when switching to the private repo as well as switching from the private repo.

Testing was done on smartOS and Mac OS.

If we deleted the database or broke it so the pkgin db validation failed, pkgin would update. No matter what repo it was pointed at.

from pkgin.

jacques avatar jacques commented on July 2, 2024

These hosts (100+ SmartOS non-global zones) are using the older version from pkgin from the pkgsrc 2012Q2 quarterly.

[root@wellington (ord) ~]# pkgin -v
pkgin 0.6.0 for SunOS-5.11 i386 (using SQLite 3.7.7.1)

Still working on a 2013Q2 upgrade solution since Joyent renumbered all the UID/GID's from installed packages.

from pkgin.

CRThaze avatar CRThaze commented on July 2, 2024

We have found that trashing the db file tends to do the trick of forcing an update if it doesn't work other wise.

rm -rf /var/db/pkgin

from pkgin.

jacques avatar jacques commented on July 2, 2024

@iMilnb wgetting a pkgin.db file in the statethat works over the original pkgin.db works better than a clean one that does not update. Let me know what your ssh key is and skype id and we can chat and you can take a look at some boxes.

from pkgin.

iMilnb avatar iMilnb commented on July 2, 2024

Hi everyone,

I changed the way packages are listed when multiple repositories are declared in repositories.conf, this could possibly fix the issues you are facing. Any of you could try the latest commit please?

from pkgin.

jacques avatar jacques commented on July 2, 2024

Going to build and test.

from pkgin.

iMilnb avatar iMilnb commented on July 2, 2024

No news from reporter for 6 months+, closing.

from pkgin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.