Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 11:46, Marty wrote: tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. judging from the menu for dselect, there does not seem to be a way to do a dist-upgrade, only install like with 'apt-get install'. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sun, Jan 20, 2008 at 11:20:03 -0800, tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 I think you should follow the Sarge-Etch upgrade notes, adapting them to your somewhat different situation. There are a couple of issues to be aware of, and even though most of them might not apply to you, it is better to know about all of them. (However, also see my remarks below.) so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: gdk-imlib1 gnome-cups-manager gnome-system-monitor 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 31 not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 203060 files and directories currently installed.) Preparing to replace linux-wlan-ng 0.2.5+dfsg+prism2dl-1etch1 (using .../linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb) ... Unpacking replacement linux-wlan-ng ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... [...] E: Sub-process /usr/bin/dpkg returned an error code (1) You have to change the permissions of /etc/modutils/0keep; it is not supposed to be executable. AFAICT, the keep in line 9 is meant as a directive for modutils, not as a command in a shell script. (There is a keep executable, which is part of the KDE auto-backup package with the same name, but this has nothing to do with modutils.) Your package manager will be more or less blocked until this issue is fixed. Taking a look at the bigger picture, you have to realize that your earlier sweeping change of permissions will probably cause many more such small (or not so small) breakages in unexpected places. If this machine is your playground to experiment and learn about Debian then this might not be such a bad thing, although I would bet that there are better ways to learn than to start from an ill-defined configuration. On the other hand, if you want to get any serious work done with this computer anytime soon then you might want to consider putting an Etch installer CD into its drive and let the installer do its work (after backing up your important personal files, of course). -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: On Sunday 20 January 2008 11:46, Marty wrote: tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. judging from the menu for dselect, there does not seem to be a way to do a dist-upgrade, only install like with 'apt-get install'. That's correct. I never explicitly upgraded from one distribution to another with dselect. I merely pointed to the newer distribution's repository (via sources.list) and dselect did the rest. I think dist-upgrade is an apt-get specific thing, and I'm not exactly what it does, other than repeatedly break users' debian systems and thus prompt frequent problem reports here. Nevertheless if you follow through with dselect then I think it will probably recover your system. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 12:17, Marty wrote: tom arnall wrote: On Sunday 20 January 2008 11:46, Marty wrote: tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. judging from the menu for dselect, there does not seem to be a way to do a dist-upgrade, only install like with 'apt-get install'. That's correct. I never explicitly upgraded from one distribution to another with dselect. I merely pointed to the newer distribution's repository (via sources.list) and dselect did the rest. I think dist-upgrade is an apt-get specific thing, and I'm not exactly what it does, other than repeatedly break users' debian systems and thus prompt frequent problem reports here. Nevertheless if you follow through with dselect then I think it will probably recover your system. Marty, should i be concerned about the following. i did this without pointing sources.list to the new repository. [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: gdk-imlib1 gnome-cups-manager gnome-system-monitor 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 31 not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 203060 files and directories currently installed.) Preparing to replace linux-wlan-ng 0.2.5+dfsg+prism2dl-1etch1 (using .../linux-w lan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb) ... Unpacking replacement linux-wlan-ng ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: error processing /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl -1etch1_i386.deb (--unpack): subprocess new post-removal script returned error exit status 1 /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: error while cleaning up: subprocess post-removal script returned error exit status 1 Errors were encountered while processing: /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: gdk-imlib1 gnome-cups-manager gnome-system-monitor 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 31 not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 203060 files and directories currently installed.) Preparing to replace linux-wlan-ng 0.2.5+dfsg+prism2dl-1etch1 (using .../linux-w lan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb) ... Unpacking replacement linux-wlan-ng ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure i t does not have execute permission dpkg: error processing /var/cache/apt/archives/linux-wlan-ng_0.2.5+dfsg+prism2dl -1etch1_i386.deb (--unpack): subprocess new post-removal
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 12:37, Marty wrote: tom arnall wrote: Marty, should i be concerned about the following. i did this without pointing sources.list to the new repository. Well, fix that. :-) [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It's a typical cascade of errors caused by the first few individual package dependency problems. Again I don't know what dist-upgrade did, but dselect should recover or at least fix most of the problems, assuming you address the permissions issues in /etc raised by Daniel and point to the right repository. Good luck. Keep posting if you have problems. If may be a hard slog, but you can probably be walked though this. thanks for the help Marty. i have decided to do a reset and reinstall. i broke my system doing the 'chmod -R 777 /dev' and i think i just need to bite the bullet and do what others recommended back then. not doing it and asking for help with some of the consequent problems is really a bit much ;o). tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: Marty, should i be concerned about the following. i did this without pointing sources.list to the new repository. Well, fix that. :-) [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It's a typical cascade of errors caused by the first few individual package dependency problems. Again I don't know what dist-upgrade did, but dselect should recover or at least fix most of the problems, assuming you address the permissions issues in /etc raised by Daniel and point to the right repository. Good luck. Keep posting if you have problems. If may be a hard slog, but you can probably be walked though this. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 12:03, Florian Kulzer wrote: On Sun, Jan 20, 2008 at 11:20:03 -0800, tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 I think you should follow the Sarge-Etch upgrade notes, adapting them to your somewhat different situation. There are a couple of issues to be aware of, and even though most of them might not apply to you, it is better to know about all of them. (However, also see my remarks below.) so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade Reading package lists... Done Building dependency tree... Done Calculating upgrade... Done The following packages have been kept back: gdk-imlib1 gnome-cups-manager gnome-system-monitor 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 31 not fully installed or removed. Need to get 0B/118kB of archives. After unpacking 0B of additional disk space will be used. Do you want to continue [Y/n]? Reading package fields... Done Reading package status... Done Retrieving bug reports... Done Parsing Found/Fixed information... Done (Reading database ... 203060 files and directories currently installed.) Preparing to replace linux-wlan-ng 0.2.5+dfsg+prism2dl-1etch1 (using .../linux-wlan-ng_0.2.5+dfsg+prism2dl-1etch1_i386.deb) ... Unpacking replacement linux-wlan-ng ... /etc/modutils/0keep: line 9: keep: command not found Error while executing /etc/modutils/0keep, aborting Note: If /etc/modutils/0keep should not be an executable script, please ensure it does not have execute permission dpkg: warning - old post-removal script returned error exit status 1 dpkg - trying script from the new package instead ... [...] E: Sub-process /usr/bin/dpkg returned an error code (1) You have to change the permissions of /etc/modutils/0keep; it is not supposed to be executable. AFAICT, the keep in line 9 is meant as a directive for modutils, not as a command in a shell script. (There is a keep executable, which is part of the KDE auto-backup package with the same name, but this has nothing to do with modutils.) Your package manager will be more or less blocked until this issue is fixed. Taking a look at the bigger picture, you have to realize that your earlier sweeping change of permissions will probably cause many more such small (or not so small) breakages in unexpected places. If this machine is your playground to experiment and learn about Debian then this might not be such a bad thing, although I would bet that there are better ways to learn than to start from an ill-defined configuration. On the other hand, if you want to get any serious work done with this computer anytime soon then you might want to consider putting an Etch installer CD into its drive and let the installer do its work (after backing up your important personal files, of course). -- Regards,| http://users.icfo.es/Florian.Kulzer Florian | Florian, thanks for the sobering advice. i'm doing it today. tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sun, Jan 20, 2008 at 02:46:31PM -0500, Marty [EMAIL PROTECTED] was heard to say: tom arnall wrote: i attempted the distr-upgrade and after i rebooted did: [EMAIL PROTECTED]:~$ uname -r 2.6.16.4 so i did the distr-upgrade again. following is the session output. '31 not fully installed or removed.' is where it gets interesting: [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It was doomed from the start. apt-get does not have the intelligence, as do the apt front ends, essential for all but the most trivial upgrades. Of those I can only vouch for personal favorite, dselect. His problems don't have anything to do with the package manager from what I've read -- they have to do with wacked out permissions in /etc, and possibly not having the standard set of etch packages installed (e.g., it sounds like he probably doesn't have linux-image-$ARCH on the system). Daniel -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: On Sunday 20 January 2008 12:37, Marty wrote: tom arnall wrote: Marty, should i be concerned about the following. i did this without pointing sources.list to the new repository. Well, fix that. :-) [EMAIL PROTECTED]:~$ sudo apt-get dist-upgrade It's a typical cascade of errors caused by the first few individual package dependency problems. Again I don't know what dist-upgrade did, but dselect should recover or at least fix most of the problems, assuming you address the permissions issues in /etc raised by Daniel and point to the right repository. Good luck. Keep posting if you have problems. If may be a hard slog, but you can probably be walked though this. thanks for the help Marty. i have decided to do a reset and reinstall. i broke my system doing the 'chmod -R 777 /dev' and i think i just need to bite the bullet and do what others recommended back then. not doing it and asking for help with some of the consequent problems is really a bit much ;o). tom arnall arcata Good luck. It sounds like your best option for now, but for the record I don't think it would any big deal to fix your system. I've made worse mistakes, but I also realize that not everyone has the time or inclination to perform surgery on a broken install in the name of science or hack value. :-) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
When installing a new system (etch), is there any trick I need to know for getting my home directory right? I have the one from old system backed up. When I go to restore it on the new system, I assume the installer will have put some kind of home directory on the new system under my username. I want to make sure that in the merged version of my home directory I have everything I need from both the backup home directory and the home directory created by the installer. For starters, do I need to copy in the backup home directory right after I do the base install, or after I have downloaded additional packages? Thanks, tom arnall -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: When installing a new system (etch), is there any trick I need to know for getting my home directory right? I have the one from old system backed up. When I go to restore it on the new system, I assume the installer will have put some kind of home directory on the new system under my username. I want to make sure that in the merged version of my home directory I have everything I need from both the backup home directory and the home directory created by the installer. For starters, do I need to copy in the backup home directory right after I do the base install, or after I have downloaded additional packages? Thanks, tom arnall The simplest solution is to start with a new drive. Unplug and remove your current drive if it contains anything valuable, put it in a safe place. As the saying goes, when you're stuck in the hole, stop digging. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 14:32, Marty wrote: tom arnall wrote: When installing a new system (etch), is there any trick I need to know for getting my home directory right? I have the one from old system backed up. When I go to restore it on the new system, I assume the installer will have put some kind of home directory on the new system under my username. I want to make sure that in the merged version of my home directory I have everything I need from both the backup home directory and the home directory created by the installer. For starters, do I need to copy in the backup home directory right after I do the base install, or after I have downloaded additional packages? Thanks, tom arnall The simplest solution is to start with a new drive. Unplug and remove your current drive if it contains anything valuable, put it in a safe place. As the saying goes, when you're stuck in the hole, stop digging. don't have a new drive. what's the next option? thanks, tom arnall arcata -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: On Sunday 20 January 2008 14:32, Marty wrote: The simplest solution is to start with a new drive. Unplug and remove your current drive if it contains anything valuable, put it in a safe place. As the saying goes, when you're stuck in the hole, stop digging. don't have a new drive. what's the next option? That's a tough one. I can only tell you what I would do. It may not apply or be the best solution in your circumstances. You are still running and have internet access, so I would focus on saving your critical data and forget about the botched upgrade for the time being. Consider backup to USB key, DVD, whatever is available. Consider rsync for backup (man rsync), be be careful because it's very powerful and you could easily wipe out your data instead of saving it. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 15:36, Marty wrote: tom arnall wrote: On Sunday 20 January 2008 14:32, Marty wrote: The simplest solution is to start with a new drive. Unplug and remove your current drive if it contains anything valuable, put it in a safe place. As the saying goes, when you're stuck in the hole, stop digging. don't have a new drive. what's the next option? That's a tough one. I can only tell you what I would do. It may not apply or be the best solution in your circumstances. You are still running and have internet access, so I would focus on saving your critical data and forget about the botched upgrade for the time being. Consider backup to USB key, DVD, whatever is available. Consider rsync for backup (man rsync), be be careful because it's very powerful and you could easily wipe out your data instead of saving it. besides my home directory, what else should i think about backing up? what would be the advantage of 'rsync'? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
On Sunday 20 January 2008 17:49, Marty wrote: tom arnall wrote: besides my home directory, what else should i think about backing up? I would back up etc as well. what would be the advantage of 'rsync'? It makes perfect copies of directory trees. is there a problem with 'cp -R' in this respect? (it is how i do my regular backups. not good ;o( ? ) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: besides my home directory, what else should i think about backing up? I would back up etc as well. what would be the advantage of 'rsync'? It makes perfect copies of directory trees. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
tom arnall wrote: On Sunday 20 January 2008 17:49, Marty wrote: tom arnall wrote: besides my home directory, what else should i think about backing up? I would back up etc as well. Come to think of it, I might also grab var, and maybe run dpkg-query and save the output, to make reinstallion easier. what would be the advantage of 'rsync'? It makes perfect copies of directory trees. is there a problem with 'cp -R' in this respect? (it is how i do my regular backups. not good ;o( ? ) You probably want cp -a, but that's not quite as good. It doesn't preserve all metadata (including, most annoyingly for me, directory access times). I usually do something like this: rsync -avxHD /etc/ /mnt/backup-device/backup/etc/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]