|
OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
Can't install ...... : can't resolve ......
Hi,
I have just installed the 5.7 -current snapshot with todays date april 15th and are trying to install xfce, but get "Can't install <file_name>: can't resolve <file_names........>" with most of the files/dependencies. Just to check it out I have also tried to install kde4-minimal, but the same thing happens. As path I am using: export PKG_PATH=http://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/$(uname -m) Command used is pkg_add -Iv <package_name> I have tried several mirrors, but get the same results. I have also tried switching to platform specific instead of $(uname -m) in the path. I have previously used version 5.6 without having this specific problem. If someone could please enlighten me or help me out I would appreciate it. Thanks, Monti |
|
|||
Quote:
When using -current, this is a common scenario. You can either wait for new packages to be made available, or you can build what packages are needed. Section 15.3 will give you information on how to build packages yourself. |
|
|||
Thank you very much for your reply Ocicat.
From the positive experience with 5.6 I suspected that it could be a common scenario with -current and that it had something to do with the different dates, but needed confirmation from someone with experience. From what you wrote, until I will have a positive experience I will assume it is the packages lagging behind the snapshot Thanks for the link. - Monti |
|
|||
PKG_PATH shows that the main site is used. Be aware that it might be faster to use a mirror.
At the time of writing, packages are lagging behind both for amd64 and i386: amd64/ system: 15-Apr-2015 15:43 - packages: 15-Apr-2015 05:08 i386/ system: 15-Apr-2015 15:50 - packages: 15-Apr-2015 14:23 Last edited by albator; 16th April 2015 at 07:55 AM. |
|
|||
Thanks for the update Albator.
To get confirmation with my own experience I downloaded the latest system snapshot iso with an earlier april 15th time stamp from the Aalborg .dk mirror and then used main site for packages. The xfce is now almost finished with no previous problems. |
|
|||
Because -current is the project's development branch, issues like this are to be expected given the file volatility.
Those that use -current are expected to deal with these possible mismatches. Some may find this to be inconvenient or troublesome, & in this case, they can always use -release or -stable. -current isn't for everyone. |
|
|||
Thanks for the follow up Ocicat. It's good to know.
I think OpenBSD is such an interesting OS/project, so I don't mind learning and adapting to the distinctive features. |
|
|||
That will not work in this case. Please read the FAQ.
|
|
|||
I debated whether or not I should reply to this post with the pedantic answer. But since everyone seems to be hung up on dates, perhaps I should be a bit pedantic for the sake of maybe explaining why checking dates is a useful heuristic but not the be-all-end-all.
What's actually going on is that the package system knows what version of each library each port is built against. If during that check it finds a mismatch, the installation will bail. As it should. Because there's no guarantee that mismatches will work (especially true for major version mismatches). And different libraries have different impact factors. A libc bump basically means no packages are going to work (except for those that are truly no-arch). But something like sqlite3 gets bumped and you'll still be able to install a lot. It's an important reminder that if you're following -current, you want to be subscribed to source-changes@ and you want to actually read source-changes@. You will also get a feel for the release cycle and know when dates mean less/more. Of course, this advise is only useful for archs where packages can be pumped out quickly. For those of us with slower archs, it's an always-build-ports deal. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How - To install GNOME vile I install OpenBSD ? | looop | OpenBSD Installation and Upgrading | 6 | 24th April 2010 08:58 PM |
my pf won't allow my server to resolve | revzalot | OpenBSD Security | 21 | 12th September 2009 10:39 AM |
pkg_add - can't resolve <packagename> | nihonto | OpenBSD Packages and Ports | 11 | 28th January 2009 10:03 PM |