| | |
(debian - lenny) Getting error code 2 from dpkg trying to install libcups2-dev
Thread Solved |
•
•
Join Date: Aug 2007
Posts: 3
Reputation:
Solved Threads: 0
I'm trying to upgrade libcups2-dev and dpkg is giving me an error. I issue aptitude install libcups2-dev from the CLI as root and receive -
aptitude install libcups2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be upgraded:
libcups2 libcups2-dev
2 packages upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
Need to get 0B/559kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
(Reading database ... dpkg: unrecoverable fatal error, aborting:
files list file for package `libcups2-dev' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
It appears that the error is in the current copy of this library. Do I need to correct this error before I can upgrade? If so, how do I update it?
Thanks for any assistance
aptitude install libcups2-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages will be upgraded:
libcups2 libcups2-dev
2 packages upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
Need to get 0B/559kB of archives. After unpacking 0B will be used.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
(Reading database ... dpkg: unrecoverable fatal error, aborting:
files list file for package `libcups2-dev' is missing final newline
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
It appears that the error is in the current copy of this library. Do I need to correct this error before I can upgrade? If so, how do I update it?
Thanks for any assistance
•
•
Join Date: Aug 2007
Posts: 3
Reputation:
Solved Threads: 0
Re: (debian - lenny) Getting error code 2 from dpkg trying to install libcups2-dev
0
#2 Jul 12th, 2009
![]() |
Similar Threads
- Windows Update stuck at 0%; no error code (Windows Vista and Windows 7)
- Error Code 6003 (Windows NT / 2000 / XP)
- Computer keeps crashing- error code help plz (Windows NT / 2000 / XP)
- Error 'not all code paths return a value' (C#)
- Error code COOD11CD (Windows NT / 2000 / XP)
- find out the error in my code (Java)
- deleting registry key for error code 19 (Windows NT / 2000 / XP)
Other Threads in the *nix Software Forum
- Previous Thread: .htaccess redirect for subdomain
- Next Thread: .ithmb conversion
| Thread Tools | Search this Thread |
Tag cloud for *nix Software





