LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trouble installing cups, cups-driver-gutenprint, and ssl-cert (https://www.linuxquestions.org/questions/linux-software-2/trouble-installing-cups-cups-driver-gutenprint-and-ssl-cert-933462/)

chris1486 03-08-2012 12:39 PM

Trouble installing cups, cups-driver-gutenprint, and ssl-cert
 
Hello,

I've been researching this issue for a while now with no success.

Output from 'aptitude install cups':
Code:

The following NEW packages will be installed:
  cups cups-driver-gutenprint{a} ssl-cert{a}
0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/3,077 kB of archives. After unpacking 9,736 kB will be used.
Do you want to continue? [Y/n/?] y
Preconfiguring packages ...             
Selecting previously deselected package ssl-cert.
(Reading database ... 141948 files and directories currently installed.)
Unpacking ssl-cert (from .../ssl-cert_1.0.28_all.deb) ...
Selecting previously deselected package cups.
Unpacking cups (from .../cups_1.4.4-7+squeeze1_amd64.deb) ...
Selecting previously deselected package cups-driver-gutenprint.
Unpacking cups-driver-gutenprint (from .../cups-driver-gutenprint_5.2.6-1_amd64.deb) ...
Processing triggers for man-db ...
Setting up ssl-cert (1.0.28) ...
sed: -e expression #1, char 23: unterminated `s' command
dpkg: error processing ssl-cert (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cups:
 cups depends on ssl-cert (>= 1.0.11); however:
  Package ssl-cert is not configured yet.
configured to not write apport reports
                                      configured to not write apport reports
                                                                            configured to not write apport reports
                                  dpkg: error processing cups (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups-driver-gutenprint:
 cups-driver-gutenprint depends on cups (>= 1.3.0); however:
  Package cups is not configured yet.
dpkg: error processing cups-driver-gutenprint (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ssl-cert
 cups
 cups-driver-gutenprint
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up ssl-cert (1.0.28) ...
sed: -e expression #1, char 23: unterminated `s' command
dpkg: error processing ssl-cert (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of cups:
 cups depends on ssl-cert (>= 1.0.11); however:
  Package ssl-cert is not configured yet.
dpkg: error processing cups (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of cups-driver-gutenprint:
 cups-driver-gutenprint depends on cups (>= 1.3.0); however:
  Package cups is not configured yet.
dpkg: error processing cups-driver-gutenprint (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 ssl-cert
 cups
 cups-driver-gutenprint

Any help is appreciated!

dafydd2277 03-09-2012 12:09 PM

Hi, Chris,

After a quick Google search, that "unterminated 's' command" shows up in several places and associated with installation attempts of several different packages. I think my first suggestion is that you make sure you're up to date with the current Debian package installers.

Good luck!
dafydd

craigevil 03-09-2012 05:18 PM

post your sources.list, the only reason to have this problem is either mixing releases or a messed up sources.list

chris1486 03-09-2012 09:10 PM

Here it is:

Code:

deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ squeeze-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main contrib non-free
deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze-proposed-updates main contrib non-free


chris1486 03-10-2012 05:31 PM

bump


All times are GMT -5. The time now is 07:58 PM.