Find the answer to your Linux question:
Results 1 to 4 of 4
I have a debian server running nice & smooth, but since a few weeks I get error messages every now and then while doing upgrades from aptitude. They seem to ...
  1. #1
    Just Joined!
    Join Date
    May 2008
    Posts
    2

    apt-get / aptitude `/usr/lib/libcups.so.2': No such file or directory

    I have a debian server running nice & smooth, but since a few weeks I get error messages every now and then while doing upgrades from aptitude. They seem to be caused by /usr/lib/libcups.so.2 not existing, but if I check for it, it seems to be found but not be there... (weird, I know... but notice the wildcard)

    [root@server: /]# ls /usr/lib/libcups*
    /bin/ls: /usr/lib/libcups.so.2: No such file or directory

    I have tried to remove it, which gives no errors, but after rm -fr /usr/lib/libcups.so.2, an ls still gives the same result.

    If I try to reinstall the libcupsys this throws multiple errors:
    apt-get --reinstall install libcupsys2-gnutls10
    [ ... ]
    dpkg: error processing /var/cache/apt/archives/libcupsys2_1.2.7-4etch3_i386.deb (--unpack):
    unable to install new version of `./usr/share/doc/libcupsys2/README.txt.gz': No such file or directory
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Unpacking libcupsys2-gnutls10 (from .../libcupsys2-gnutls10_1.2.7-4etch3_all.deb) ...
    dpkg: error processing /var/cache/apt/archives/libcupsys2-gnutls10_1.2.7-4etch3_all.deb (--unpack):
    unable to install new version of `./usr/share/doc/libcupsys2-gnutls10/changelog.gz': No such file or directory
    dpkg-deb: subprocess paste killed by signal (Broken pipe)
    Errors were encountered while processing:
    /var/cache/apt/archives/libcupsys2_1.2.7-4etch3_i386.deb
    /var/cache/apt/archives/libcupsys2-gnutls10_1.2.7-4etch3_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Would anyone know how to fix this?

  2. #2
    Just Joined! wildpossum's Avatar
    Join Date
    Apr 2008
    Location
    Sydney/Australia
    Posts
    92
    I am assuming from you output data that your using ubuntu.

    goto:

    downloading libcups.so.2 [Archive] - Ubuntu Forums

    it has the answers your seeking.

  3. #3
    Just Joined!
    Join Date
    May 2008
    Posts
    2

    not the lib32

    wildpossum, thanks for your reply. (it's debian, by the way)

    I've looked at your link but I'm not sure this would solve the issues... The link seems to be about the lib32/ libcups.so.2 missing, not the lib/ version.

    As can be seen from the output in my case there's something weird with my libcups.so.2 in the /usr/lib/ directory. I cannot even seem to replace that file with the same from another debian server; this also throws a 'No such file or directory'...

    Maybe someone has a clue what might be wrong with the file to be causing this?

  4. #4
    Linux Engineer jledhead's Avatar
    Join Date
    Oct 2004
    Location
    North Carolina
    Posts
    1,077
    what if you do
    Code:
    ls -l /usr/lib/libcup*
    to see if its a symlink

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •