LinuxQuestions.org
Review your favorite Linux distribution.
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 11-25-2007, 04:08 AM   #1
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
Upgradet to 12, removepkg not working


I've upgraded my server to Slackware 12(Finnaly) and now removepkg isn't working.
I run i.e.:
removepkg hotplug*.tgz
And then it says
Removing files:
And then a bunch of stuff like this:
Code:
cat: floppy0: No such file or directory
cat: cdrom0: No such file or directory
And bunch of other device like "files".
What could be the problem of this?
 
Old 11-25-2007, 11:03 AM   #2
Eternal_Newbie
Member
 
Registered: Jun 2005
Location: The Pudding Isles
Distribution: Slackware
Posts: 573

Rep: Reputation: 59
There were many significant changes to Slackware between 11.0 and 12.0 Quite apart from the change to modular XOrg, several of the base packages were split into several different packages (the a/bin package in particular). It is quite possible that you are missing something, especially if you did not follow the upgrade procedure outlined in CHANGES_AND_HINTS.TXT which also include a full list of changed packages.
 
Old 11-25-2007, 12:14 PM   #3
ottavio
Member
 
Registered: Nov 2007
Posts: 312

Rep: Reputation: 46
Check if you have the 'which' package installed.

'which which' would do the job.
 
Old 11-25-2007, 01:53 PM   #4
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Original Poster
Rep: Reputation: 37
Code:
root@x-shells:~# which which
/usr/bin/which
Guess it is installed.

Newbie: My server doesn't use Xorg, I know about those changes, and I did follow that file while upgrading.
That's where I "discovered" this problem when trying to delete old packages.


One other thing that I just discovered:
Code:
Nov 25 21:27:06 /sbin/netconfig: kernel: FW DROP
Notice the /sbin/netconfig:
That's from /var/log/syslog (messages is the same).
It should read x-shells

Last edited by Tux-Slack; 11-25-2007 at 01:55 PM.
 
Old 12-21-2007, 01:20 PM   #5
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Original Poster
Rep: Reputation: 37
A little update.
Exactly what shows when trying to delete any package.
Quote:
Removing package /var/log/packages/samba-3.0.25b-i486-1-upgraded-2007-12-21,20:44:35...
Removing files:
cat: X0R: No such file or directory
cat: adsp: No such file or directory
cat: amidi: No such file or directory
cat: audio: No such file or directory
cat: cdrom: No such file or directory
cat: core: No such file or directory
cat: dsp: No such file or directory
cat: ftape: No such file or directory
cat: js0: No such file or directory
cat: js1: No such file or directory
cat: js2: No such file or directory
cat: js3: No such file or directory
cat: midi: No such file or directory
cat: mixer: No such file or directory
cat: modem: No such file or directory
cat: mouse: No such file or directory
cat: nfsd: No such file or directory
cat: nftape: No such file or directory
cat: nrmt0: No such file or directory
cat: nrmt1: No such file or directory
cat: radio: No such file or directory
cat: rmt0: No such file or directory
cat: rmt1: No such file or directory
cat: sequencer2: No such file or directory
And then it just stands there.
I've already tried to reinstall pkgtools package, no effect.
Whole system reinstall is out of the question.
 
Old 12-21-2007, 03:18 PM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Those are files from the devs package that are probably not present on your system while udev is running. You might need to run the install CD, mount the partition and remove the packages that way. Since udev mounts /dev on tmpfs during bootup, the device files which are part of the devs package are hidden. You might also try unmounting /dev from tmpfs so that the underlying files show up. I don't understand what those files have to do with the samba package though...
 
Old 12-21-2007, 05:56 PM   #7
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Original Poster
Rep: Reputation: 37
Not just the samba package. Any package.
Even if I make my self a package which contains only /home/README i.e. and install it I can't remove it later.
 
Old 12-21-2007, 07:02 PM   #8
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 37
Until a upgrade whole system is possible simplify upgrade package pkgtools whatever version 11 slack is.
 
Old 12-21-2007, 11:58 PM   #9
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Did you try what gnashley told you?
 
Old 12-22-2007, 07:44 AM   #10
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Original Poster
Rep: Reputation: 37
Well, the server is not accessible every day, so I cant pop in the DVD and boot from it.
Besides, I've tried to stop udev with
/etc/rc.d/rc.udevd stop
and removing the samba package again and it didn't work either.
This is the mount and ps aux output:
Code:
root@x-shells:~# mount
/dev/hda1 on / type reiserfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/hda2 on /home type reiserfs (rw,usrquota)
/dev/hda3 on /usr type reiserfs (rw)
root@x-shells:~# ps aux | grep udev
root     17224  2.1  0.2   2360  1056 ?        S<s  15:18   0:01 /sbin/udevd --daemon
root     18518  0.0  0.1   2004   656 pts/4    S+   15:19   0:00 grep udev
 
Old 12-23-2007, 06:54 AM   #11
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
So do you have devs installed?

Maybe read this:

man MAKEDEV

-d option

Last edited by Alien_Hominid; 12-23-2007 at 06:56 AM.
 
Old 12-23-2007, 11:18 AM   #12
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Original Poster
Rep: Reputation: 37
Yes, devs is installed.

If I do MAKEDEV -d what exactly will happen? Could the system crash?
 
  


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
src2pkg custom related question about removepkg matters Slackware 5 06-18-2007 07:56 PM
removepkg: WARNING: Unique directory contains new files merchtemeagle Slackware 10 06-23-2005 08:51 AM
RemovePkg Recursively? Kenji Miyamoto Slackware 3 05-23-2005 08:33 AM
removepkg alternative props666999 Slackware 2 11-10-2004 12:10 AM
Package for 'installpkg,removepkg,makepkg," bongski55 Slackware 4 09-15-2003 07:00 AM

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

All times are GMT -5. The time now is 01:00 AM.

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