Install manager for CUPS fails on 7.04

Asked by ralph

The automatic update for CUPS failed.

The error output was as follows

r/sbin/install-docs line 844.
dpkg: error processing cupsys (--configure):
 subprocess post-installation script returned error exit status 20
Setting up openssh-client (4.3p2-8ubuntu1.1) ...

Setting up libsnmp-base (5.2.3-4ubuntu1.1) ...

Setting up libsnmp9 (5.2.3-4ubuntu1.1) ...

Setting up ssh-askpass-gnome (4.3p2-8ubuntu1.1) ...

Errors were encountered while processing:
 cupsys
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up cupsys (1.2.8-0ubuntu8.2) ...
Could not open /usr/share/doc-base/data/scrollkeeper.map: Not a
directory at /usr/sbin/install-docs line 844.
dpkg: error processing cupsys (--configure):
 subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
 cupsys

The failure does not as yet seemed to have had much of an impact on printing but I did have to reinstall the printer.

Bye Ralph

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
ralph
Solved:
Last query:
Last reply:
Revision history for this message
Andrew C. (sumguy231) said :
#1

Try this (in a terminal):
sudo apt-get update
sudo apt-get -f install

If it still doesn't work, try:
sudo dpkg --configure -a

Revision history for this message
ralph (rjorre) said :
#2

Unfortunately neither of these suggestions worked.

I thing there is an error in the install script as per the previous output.

Here is the output from the terminal for your suggestions:

ralph@ralph-laptop:~$ sudo apt-get update
Password:
Get:1 http://security.ubuntu.com feisty-security Release.gpg [191B]
Ign http://security.ubuntu.com feisty-security/main Translation-en_US
Ign http://security.ubuntu.com feisty-security/restricted Translation-en_US
Get:2 http://es.archive.ubuntu.com feisty Release.gpg [191B]
Ign http://es.archive.ubuntu.com feisty/main Translation-en_US
Ign http://es.archive.ubuntu.com feisty/restricted Translation-en_US
Ign http://es.archive.ubuntu.com feisty/universe Translation-en_US
Ign http://es.archive.ubuntu.com feisty/multiverse Translation-en_US
Get:3 http://es.archive.ubuntu.com feisty-updates Release.gpg [191B]
Ign http://es.archive.ubuntu.com feisty-updates/main Translation-en_US
Ign http://es.archive.ubuntu.com feisty-updates/restricted Translation-en_US
Ign http://security.ubuntu.com feisty-security/universe Translation-en_US
Ign http://security.ubuntu.com feisty-security/multiverse Translation-en_US
Hit http://security.ubuntu.com feisty-security Release
Hit http://es.archive.ubuntu.com feisty Release
Hit http://es.archive.ubuntu.com feisty-updates Release
Hit http://security.ubuntu.com feisty-security/main Packages
Hit http://es.archive.ubuntu.com feisty/main Packages
Hit http://es.archive.ubuntu.com feisty/restricted Packages
Hit http://es.archive.ubuntu.com feisty/main Sources
Hit http://es.archive.ubuntu.com feisty/restricted Sources
Hit http://es.archive.ubuntu.com feisty/universe Packages
Hit http://es.archive.ubuntu.com feisty/universe Sources
Hit http://es.archive.ubuntu.com feisty/multiverse Packages
Hit http://es.archive.ubuntu.com feisty/multiverse Sources
Hit http://security.ubuntu.com feisty-security/restricted Packages
Hit http://security.ubuntu.com feisty-security/main Sources
Hit http://security.ubuntu.com feisty-security/restricted Sources
Hit http://security.ubuntu.com feisty-security/universe Packages
Hit http://security.ubuntu.com feisty-security/universe Sources
Hit http://security.ubuntu.com feisty-security/multiverse Packages
Hit http://security.ubuntu.com feisty-security/multiverse Sources
Hit http://es.archive.ubuntu.com feisty-updates/main Packages
Hit http://es.archive.ubuntu.com feisty-updates/restricted Packages
Hit http://es.archive.ubuntu.com feisty-updates/main Sources
Hit http://es.archive.ubuntu.com feisty-updates/restricted Sources
Fetched 3B in 1s (3B/s)
Reading package lists... Done
ralph@ralph-laptop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Setting up cupsys (1.2.8-0ubuntu8.2) ...
Could not open /usr/share/doc-base/data/scrollkeeper.map: Not a directory at /usr/sbin/install-docs line 844.
dpkg: error processing cupsys (--configure):
 subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
 cupsys
E: Sub-process /usr/bin/dpkg returned an error code (1)
ralph@ralph-laptop:~$ sudo dpkg --configure -a
Setting up cupsys (1.2.8-0ubuntu8.2) ...
Could not open /usr/share/doc-base/data/scrollkeeper.map: Not a directory at /usr/sbin/install-docs line 844.
dpkg: error processing cupsys (--configure):
 subprocess post-installation script returned error exit status 20
Errors were encountered while processing:
 cupsys
ralph@ralph-laptop:~$

Thanks for your help.

This must surely be effecting all the users who applied the update.

Bye Ralph

Revision history for this message
Andrew C. (sumguy231) said :
#3

Hmm, how about:
sudo apt-get --purge remove cupsys
sudo apt-get install ubuntu-desktop

By the way, if you're using something other than Ubuntu (Kubuntu or Xubuntu) then put that where it says 'ubuntu' in ubuntu-desktop.

I believe I received that update without problems just the other day, actually.

Revision history for this message
Andrew C. (sumguy231) said :
#4

Oh wait, you're using Feisty. Maybe that's why you had problems. I'm using a slightly newer version of CUPS on Gutsy.

Revision history for this message
ralph (rjorre) said :
#5

I still think there is an error in the install script at line 844 - see output.

ralph@ralph-laptop:/usr/share/doc-base$ ls -l /usr/share/doc-base/data
-rw-r--r-- 1 root root 17335 2007-05-02 17:56 /usr/share/doc-base/data
ralph@ralph-laptop:/usr/share/doc-base$ locate scrollkeeper.map
ralph@ralph-laptop:/usr/share/doc-base$

which is exactly what the install script is complaining about.

Maybe the person who did the script needs to be aware of the problem

Who should I send this to ????

Regards Ralph

Revision history for this message
ralph (rjorre) said :
#6

This problem has now been solved.

The file scrollkeeper.map is part of the doc-base package and was missing.

Reinstsallation of doc-base placed the file in the correct location and cupsys installed correctly.