Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Debian Linux Help
Reload this Page apt-get / aptitude `/usr/lib/libcups.so.2': No such file or directory
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Debian Linux Help Discussions related to Debian GNU/Linux.

Reply
 
Thread Tools Display Modes
Old 05-14-2008   #1 (permalink)
micsch
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?
micsch is offline   Reply With Quote
Old 05-14-2008   #2 (permalink)
wildpossum
Just Joined!
 
wildpossum's Avatar
 
Join Date: Apr 2008
Location: Sydney/Australia
Posts: 74
Send a message via Skype™ to wildpossum
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.
__________________
Grahame
AMD Phenom(QuadCore), 8GB, 3ware RAID6 1.8TB, HD3850(512MB) ..etc.
wildpossum is offline   Reply With Quote
Old 05-14-2008   #3 (permalink)
micsch
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?
micsch is offline   Reply With Quote
Old 05-14-2008   #4 (permalink)
jledhead
Linux Engineer
 
jledhead's Avatar
 
Join Date: Oct 2004
Location: North Carolina
Posts: 761
what if you do
Code:
ls -l /usr/lib/libcup*
to see if its a symlink
jledhead is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 11:28 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0