LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackpkg - /var/log/packages broken (http://www.linuxquestions.org/questions/slackware-14/slackpkg-var-log-packages-broken-4175439507/)

croftad1 11-30-2012 05:26 PM

Slackpkg - /var/log/packages broken
 
I get the following after running slackpkg upgrade-all:

Code:

Checking local integrity... DONE
You have a broken /var/log/packages - with two versions of the same package.
The list of packages duplicated in your machine are shown below, but don't
worry about this list - when you select your action, slackpkg will show a
better list:

xf86-video-nouveau-blacklist-noarch-1
xf86-video-nouveau-git_20120323_efd7a52-i486-1

You can (B)lacklist, (R)emove, or (I)gnore these packages.
Select your action (B/R/I):

I'm running 32 bit slackware 14. I've successfully updated this installation a couple of times already but this happened following installation of the nvidia driver. I first used the slackbuilds nvidia packages but rolled them back in favor of the binary package from nvidia after experiencing some problems.

I've removed and re-installed both packages and rebooted to try and fix this but I'm still getting the same message. These two packages should be able to co-exist, right? I mean one is dependent on the other. Any ideas on how to fix?

willysr 11-30-2012 06:59 PM

You should remove one of them

TommyC7 11-30-2012 07:17 PM

xf86-video-nouveau-blacklist-noarch-1 blacklists the xf86-video-nouveau-git_20120323_efd7a52-i486-1. Essentially rendering the nouveau driver (the git-20120323-etc. package) useless. If you want to use it, I would remove the blacklist package, otherwise you're probably not using it right now (if you do have an nvidia GPU).

brianL 12-01-2012 06:19 AM

I solved that problem by putting this in /etc/slackpkg/blacklist:
Code:

# Nouveau driver
xf86-video-nouveau


linuxxer 12-02-2012 05:21 AM

Quote:

Originally Posted by croftad1 (Post 4840487)
xf86-video-nouveau-blacklist-noarch-1
xf86-video-nouveau-git_20120323_efd7a52-i486-1

I think, It because of, you used installpkg command instead of upgradepkg command.
You can use
Code:

# upgradepkg --install-new pkgname


All times are GMT -5. The time now is 03:13 AM.