-
Regenerate the apt configuration files
I had nice fine tuned HD installation. I was trying to create a new Knoppix configuration to remaster and cleaning up my HD installation at the same time --> DO NOT TRY!
I typed apt-get remove <package> in the wrong terminal window and the dpkg/apt configuration files became useless, so did my installation.
I already tried to regenerate them using different methods and none worked. Anyone has a surefire recovery method for these files short of backing up all the configuration files, home directories, etc and reinstall Knoppix?
-- GN
-
Senior Member
registered user
before you do a total reinstall, try removing/repacing apt; it's just another package like everything else. My first thought would be 'dpkg-reconfigure apt'. If that didn't work, 'apt-get -t unstable install apt'. If that no go, download the apt package manually then remove (purge) & reinstall it wirth dpkg.
-
![Quote](images/misc/quote_icon.png)
Originally Posted by
CrashedAgain
before you do a total reinstall, try removing/repacing apt; it's just another package like everything else. My first thought would be 'dpkg-reconfigure apt'. If that didn't work, 'apt-get -t unstable install apt'. If that no go, download the apt package manually then remove (purge) & reinstall it wirth dpkg.
These are the only ideas I didn't try. I'm not sure if I would've succeded. Probably if I used the 'force' options. Apparently dpkg requires some of the files to pre-exist with some minimum content. at some point the files got deleted and completely out of sync with the installation. dpkg kept saying something like 'debonf missing or not installed' (something along those lines) and aborted.
I finally had to reinstall
and I'm being a lot more carefull now while updating the packages I need. I looked around the web and found absolutely no detailed documentation or clues on dpkg's configuration files. There was an old script at some forum which I tried and didn't work. The only thing left was to look into the source code.
Since Knoppix has been such a success with all my family (they'd rather use Knoppix than Windows), I have another PC that I don't mind crashing and reinstalling as many times as necessary. It might take some time, but I'll test your ideas. If they work it might be worth documenting. The biggest criticism I found for Debian on the web are these configuration files.
Thanks
--GN
Similar Threads
-
By wualla in forum MS Windows & New to Linux
Replies: 6
Last Post: 05-18-2006, 03:59 PM
-
By dafne in forum Customising & Remastering
Replies: 1
Last Post: 02-18-2004, 06:00 PM
-
By prawira in forum Customising & Remastering
Replies: 2
Last Post: 10-28-2003, 09:40 AM
-
By mechanical_messiah in forum General Support
Replies: 2
Last Post: 09-17-2003, 03:45 PM
-
By Lars Jensen in forum General Support
Replies: 10
Last Post: 01-07-2003, 08:16 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Commodore Amiga 1000 + Keyboard + Mouse - NTSC - 512KB - WORKS 100% picture](/store/img/BPEAAOSwFHRmnC9x/s-l225//Commodore-Amiga-1000-Keyboard-Mouse-NTSC-512KB-WOR.jpg)
Commodore Amiga 1000 + Keyboard + Mouse - NTSC - 512KB - WORKS 100%
$599.99
![Commodore Amiga 1084 Color Monitor Only (tested/working) picture](/store/img/ryAAAOSwc2tmnX1B/s-l225//Commodore-Amiga-1084-Color-Monitor-Only-tested-wor.jpg)
Commodore Amiga 1084 Color Monitor Only (tested/working)
$250.00
![Commodore Amiga 3000 Computer picture](/store/img/WxYAAOSw2rtmnRwA/s-l225//Commodore-Amiga-3000-Computer.jpg)
Commodore Amiga 3000 Computer
$2200.00
![Commodore Amiga 570 CD Interface CD Unit. picture](/store/img/qmMAAOSwsWRmnFxH/s-l225//Commodore-Amiga-570-CD-Interface-CD-Unit-.jpg)
Commodore Amiga 570 CD Interface CD Unit.
$250.00
![BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model picture](/store/img/GXUAAOSwWZRmPnHK/s-l225//BlueSCSI-V2-WiFi-Desktop-Modern-Storage-for-Vintag.jpg)
BlueSCSI V2 WiFi (Desktop) Modern Storage for Vintage Computers Latest Model
$53.50
![Amiga Fusion Forty 68040 Accelerator including Sonnet Technologies Quad Doubler picture](/store/img/o9UAAOSwyuRmlxR7/s-l225//Amiga-Fusion-Forty-68040-Accelerator-including-Son.jpg)
Amiga Fusion Forty 68040 Accelerator including Sonnet Technologies Quad Doubler
$673.98
![GreaseWeazle Version 4 New Firmware Complete Kit Read Write Atari ST & Amiga picture](/store/img/Ur8AAOSw~5dmnQni/s-l225//GreaseWeazle-Version-4-New-Firmware-Complete-Kit-R.jpg)
GreaseWeazle Version 4 New Firmware Complete Kit Read Write Atari ST & Amiga
$30.12
![Amiga 3000 ReAmiga Motherboard Rev. 1.3 picture](/store/img/lQkAAOSwkqJmFz0O/s-l225//Amiga-3000-ReAmiga-Motherboard-Rev-1-3.jpg)
Amiga 3000 ReAmiga Motherboard Rev. 1.3
$109.00
![Bluster CPLD Amiga Buster replacement picture](/store/img/MkEAAOSwumNmfku2/s-l225//Bluster-CPLD-Amiga-Buster-replacement.jpg)
Bluster CPLD Amiga Buster replacement
$55.99
![Vintage Commodore Amiga A600 Video Game Computer Working With Power Cable picture](/store/img/LKMAAOSwZDVmmUYN/s-l225//Vintage-Commodore-Amiga-A600-Video-Game-Computer-W.jpg)
Vintage Commodore Amiga A600 Video Game Computer Working With Power Cable
$324.50