Results 1 to 6 of 6

Thread: upgrade idea

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Location
    somewhere in england
    Posts
    9

    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

  2. #2
    Senior Member registered user
    Join Date
    Jun 2003
    Location
    Piraeus / Hellas
    Posts
    121
    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

  3. #3
    Junior Member
    Join Date
    Jul 2003
    Location
    somewhere in england
    Posts
    9
    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

  4. #4
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote 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.

  5. #5
    Junior Member
    Join Date
    Jul 2003
    Location
    somewhere in england
    Posts
    9
    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

  6. #6
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote 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

  1. Idea
    By McMahon in forum The Lounge
    Replies: 3
    Last Post: 11-27-2004, 02:36 AM
  2. bad idea?
    By OErjan in forum Ideas
    Replies: 0
    Last Post: 04-04-2004, 07:41 AM
  3. idea
    By Schotty in forum Customising & Remastering
    Replies: 1
    Last Post: 03-07-2004, 09:59 PM
  4. problem using apt-get with upgrade/dist-upgrade
    By vesselinpeev in forum General Support
    Replies: 0
    Last Post: 05-26-2003, 09:03 PM
  5. i have a idea :)
    By wiak in forum Ideas
    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
  •  


Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p picture

Dell EMC PowerEdge R740 8 Bay Server w/ 32GB RAM 2x GOLD 6132 2x 1600W PSU H730p

$499.88



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



New Dell PowerEdge Server R360 Xeon E-2488 3.2G 16GB RAM 4X800GB SSD 6x600GB SAS picture

New Dell PowerEdge Server R360 Xeon E-2488 3.2G 16GB RAM 4X800GB SSD 6x600GB SAS

$3890.00



Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb picture

Dell Poweredge R630 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / Raid / 2x 1Tb

$374.99



Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO picture

Dell Poweredge R730xd 12LFF 2*2660v4 4*1Gbe h730 2x 750W Server CTO

$308.00



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 32GB RAM No HDD

$381.93



Dell PowerEdge R730xd 2x Xeon E5-2680 v3 80GB DDR4 ECC 2U Server No HDD picture

Dell PowerEdge R730xd 2x Xeon E5-2680 v3 80GB DDR4 ECC 2U Server No HDD

$499.99



Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W picture

Dell PowerEdge C4130 1U AI GPU Server | 2x E5-2680 v3 | 32gb Ram | 2x 1600W

$409.99



Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server picture

Dell EMC VxRail E560F 10-SFF 2*Gold 6230R 2.1GHz No RAM HBA330 iDrac Ent Server

$349.99



DELL R740 8LFF Server 2x Gold 6152 2.1GHz =44 Cores H740p 4xRJ45 picture

DELL R740 8LFF Server 2x Gold 6152 2.1GHz =44 Cores H740p 4xRJ45

$895.00