LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-15-2010, 06:42 AM   #1
prof
LQ Newbie
 
Registered: Feb 2009
Location: Italy
Distribution: Slackware 12.2
Posts: 23

Rep: Reputation: 15
rev: command not found after an upgrade to current


Hi, I'm using Slackware current.
I've updated my current after about two months from the last update, and since there was a huge number of changes I'm having some problems.
In particular, I've forgot (my fault!) to give a "slackpkg install-new" before rebooting, so now I'm getting stuck...

Installpkg now claims a "rev" command, but I cannot figure how to find it, since the Slackware package browser on the website is still broken (when will it be available?!?!). Now, each time I try to install or upgrade a new package, I get this error:

/sbin/upgradepkg: line 41: rev: command not found
/sbin/installpkg: line 59: rev: command not found

Where can I find the package containing "rev"?

Thanks
Stefano
 
Old 05-15-2010, 06:56 AM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
The "rev" program is part of "util-linux-ng". Your problem may be elsewhere, because I don't believe you are missing this package. Rather, something else went wrong during the upgrade.

Perhaps the best thing to do is create a Slackware-current DVD ISO, burn that to a medium, boot from it, then instead of running "setup" you mount your local hard disk partition under "/mnt" as well as your DVD below "/var/log/mount" and then use the command
Code:
ROOT=/mnt upgradepkg /var/log/mount/slackware/*/*.t?z
to upgrade your already installed Slackware packages.

Then read the ChangeLog.txt for Slackware-current carefully, and look for packages that have been added (the word "Added" will be present in that entry, so use that in your search) and install those packages (still running from the DVD) with
Code:
ROOT=/mnt installpkg /var/log/mount/slackware/*/full_name_of_missing_package.t?z
Perhaps that will help. Also do not forget to look for *.new files which may have been left in the /etc/ directory of your harddisk (which is /mnt/etc while you are still running from the DVD) and do something wise with those.

Eric
 
Old 05-16-2010, 09:33 AM   #3
prof
LQ Newbie
 
Registered: Feb 2009
Location: Italy
Distribution: Slackware 12.2
Posts: 23

Original Poster
Rep: Reputation: 15
Thanks for your reply.

I've solved by booting from the Slackware 13.0 dvd, then I've manually downloaded util-linux-ng, I've exploded the package and copied rev to the /usr/bin directory of my installation. Then I've chrooted on that partition, reinstalled util-linux-ng and ran slackpkg. Now the system boots.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 error "No screens found" with FGLRX after upgrade to slackware64-current Dinobot Linux - Desktop 17 03-06-2010 10:02 AM
winxp printer not found by Ubuntu latest rev. themotorman Linux - Newbie 3 05-25-2009 12:00 AM
LXer: Solve the error: "current dist not found in meta-release" and upgrade to Gutsy LXer Syndicated Linux News 0 09-08-2007 05:00 AM
I need to upgrade FC4 but to which rev? pnye Linux - General 11 08-29-2007 10:53 PM
'command not found' after upgrade klonkiman Debian 2 07-24-2005 02:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration