-
upgrade idea
after installing knoppix 3.3 with knoppix-installer i decided to try and update the system
note: if you don't wan't a swap partition you must export IGNORE_CHECK=1 or it won't let you proceed
i was warned against useing dist-upgrade as it tends to kill kde
so i used apt-get upgrade and it upgraded some stuff but a lot was not upgraded
after some manual work i managed to get it to the point of 0 not upgraded but it was quite a bit of work and involved removeing some broken devel packages and such
this is obviously beyond a newbie
my idea is to have a program which works out what pacakges have been added upgraded downgraded or removed since my install (useing dpkg -l output)
then the program can be run on another machine to apply the changes file this will be done by comparing the changes file with the local dpkg-l and generating an apt-get command (with packge versions included on the command line)
what do people think if you like the idea i may well code it
-
Senior Member
registered user
Well I found your idea very interesting.
I am not programmer so I can't help on coding but I can test
the script when/if created
-
ok i discovered dpkg -l output to be unsuitable because it truncates important fields lukilly the list of installed packages is in /var/lib/dpkg/status in plain text
however this file is not sorted in any way which could make compareing harder
-
Senior Member
registered user

Originally Posted by
plugwash
ok i discovered dpkg -l output to be unsuitable because it truncates important fields
COLUMNS=120 dpkg -l | grep ii to get a listing of everything installed 120 columns wide if you make the console window > 120 wide then everything will be on one line per package installed.
-
if i set witdth 120 am i gaurenteed to get the full names and versions
or is there a still chance of something getting cut short
-
Senior Member
registered user

Originally Posted by
plugwash
if i set witdth 120 am i gaurenteed to get the full names and versions
or is there a still chance of something getting cut short
There is no guarentee that the full package name will not be larger than the column if it is increase the size of the column number and repeat the command.
Similar Threads
-
By McMahon in forum The Lounge
Replies: 3
Last Post: 11-27-2004, 02:36 AM
-
Replies: 0
Last Post: 04-04-2004, 07:41 AM
-
By Schotty in forum Customising & Remastering
Replies: 1
Last Post: 03-07-2004, 09:59 PM
-
By vesselinpeev in forum General Support
Replies: 0
Last Post: 05-26-2003, 09:03 PM
-
Replies: 2
Last Post: 05-14-2003, 05:14 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
-
Forum Rules

Windows XP, Vista, 8.1, Linux Knoppix, Office XP, (6 CDS)
$10.00

KNOPPIX 9.1 Linux Install & Live DVD 32bit & 64bit
$19.99

Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$5.99

KNOPPIX USB DVD OS , BEST OF ALL HIGHLY RECOMENDED
$11.99

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$20.85

Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$21.42

VINTAGE SOFTWARE | KNOPPIX STD 0.1 (SECURITY TOOLS DISTRIBUTION)
$7.57

Knoppix NSM 1.2
$8.00

Hamshack Live DVD-ROM
$7.00

Knoppix 5.0.1 ULTRA RARE Linux DVD - Linux Pro Extra August 2006
$33.58