Results 1 to 4 of 4

Thread: unable to repair broken packages

  1. #1
    Junior Member
    Join Date
    Sep 2005
    Posts
    2

    unable to repair broken packages

    Hi,
    With the help of great tips on this forum I was able to successfully boot Knoppix on my diskless laptop and do a "poor man" install on external USB hard disk. I boot from the Knoppix cd and then do pivot_root to fire up the debian on the usb disk. All worked fine for few months and then a few days back one of the package upgrade has created havoc - I am not sure what happenned but here is the problem :
    - when i try to install any package or do apt-get dist-upgrade ( and any dpkg -i installyion ) I get the following error :

    dpkg: serious warning: files list file for package `kppp' missing, assuming package has no files currently installed.
    dpkg: error processing <package> : files list file for package `kpf' is missing final newline.
    Processing was halted becasue there were too many errors

    becasue of these errors I am unable to install, remove or upgrade any package - except apt-get update nothing works. I have browsed through several forums and used all techinques to reinstall kppp / kpf, delete them, force ignore them etc but nothing has worked. Before I am forced to reinstall debian afresh on my disk from scratch, I want to make this last attempt to find if any of you have faced this probelm and how could I possibly fix this ?

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    You cannot update packages using apt-get on a poormans install because updating packages requires rewriting the main iso which is read only on a poormans install. You should be able to install extra packages using klik & update these, however.

  3. #3
    Junior Member
    Join Date
    Sep 2005
    Posts
    2
    After I install on the external disk and pivot_root to it - I am using the standard debian install ( rather than knoppix) so apt-get works as it should on any standard debian system.
    It was working for me well as I was able to install several packages and keep them updated for a few months before something broke as described.

  4. #4
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981
    Quote Originally Posted by oye
    After I install on the external disk and pivot_root to it - I am using the standard debian install ( rather than knoppix) so apt-get works as it should on any standard debian system.
    It was working for me well as I was able to install several packages and keep them updated for a few months before something broke as described.
    Ahh. Then this is not a 'poorman' install. A poorman install is a copy of the knoppix iso image placed on the hard drive. It runs just as if it were on the CD (ie read only) but is faster & leaves then CD drive free for other uses.

    However, since you are able to use apt with your installation, it should be fixable. It sounds like your package file has become corrupted, there are two of these. 'apt-get update' will update only the one apt uses, 'dselect update' will update both so use dselect update instead of apt-get update. Try this, then do 'apt-get check' & post the output. I assume you have checked 'man dpkg' for options; for instance you can do -f remove as well as -f install.

    Even though Knoppix "becomes Debian" once installed to hard drive, it is not really "Debian" ie it is not the same as a a Debian Sarge installation. There are enough differences so that upgrading especially using apt-get dist-upgrade or apt-get upgrade often causes problems. Knoppix uses a different startup procedure, has built in hardware detection & setup, has custom user setup and has some special packages such as the openoffice-en-de which has no help files. Knoppix also used to use a specific version of gcc which occasionally made compiling packages from source difficult although I don't know if it still does. It is generally recommended to upgrade individual packages only, not do a general apt-get upgrade. And NEVER choose to 'accept the package maintainers version' of a config file in preference to the installed one when asked.

Similar Threads

  1. I have 383 Broken packages LOL
    By silver in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 09-30-2007, 01:48 AM
  2. Broken Packages
    By Jamsh in forum General Support
    Replies: 2
    Last Post: 04-04-2007, 11:09 AM
  3. How to repair broken Applications?
    By Claus33 in forum General Support
    Replies: 0
    Last Post: 02-25-2007, 12:00 PM
  4. apt-get and broken packages
    By ve.ru in forum Customising & Remastering
    Replies: 1
    Last Post: 10-05-2006, 02:47 PM
  5. Broken packages?
    By muczy in forum General Support
    Replies: 2
    Last Post: 08-07-2004, 12:38 PM

Posting Permissions

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


TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch picture

TP-Link TL-SG105 5-Port Gigabit Ethernet Unmanaged Metal Desktop Network Switch

$19.99



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed picture

TP-Link TL-SG1048 48-Port Gigabit Rackmount Switch New Factory Sealed

$199.99



NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch picture

NETGEAR GS308EP Essential Series 8-Port Gigabit PoE+ Unmanaged Switch

$49.99



10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W picture

10-Port Gigabit PoE Network Switch with 8 PoE+ Ports with 2 Combo SFP Slots 125W

$39.99



TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597 picture

TP-Link TL-SG2210P 10-Port Gigabit Smart Switch w/ 8-Port PoE+ NO AC SKU 25597

$36.98



Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch picture

Arista DCS-7050SX-64-R 48P 10GbE SFP+ 4P 40GbE QSFP+ RA Switch

$115.00



Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts picture

Arista DCS-7010T-48-R 48P 1GbE 4P 10GbE SFP+ RA Switch with rack mounts

$69.00



Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks picture

Linksys LGS328MPC 24-Port Managed Gigabit PoE+ Switch with 4 10G SFP+ Uplinks

$224.95



5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play picture

5Ports Gigabit Network Switch w/ 4 PoE+ Ports Total 52W each port 30W Plug&Play

$31.99