How to obtain list of installed packages
Bret Busby
bret.busby at gmail.com
Fri May 20 15:18:18 UTC 2016
On 20/05/2016, Petter Adsen <petter at synth.no> wrote:
> On Fri, 20 May 2016 16:27:16 +0800
> Bret Busby <bret.busby at gmail.com> wrote:
>
>> In the process, something has apparently gone wrong with the table
>> that manages the partitions (the GPT?), and the start point and end
>> point locators and/or the partitions sizes records.
>>
>> If I knew how to reproduce the particular error message, it would
>> probably be quite helpful, in all of this, as I may be completely
>> wrong, in my perception of the need to rebuild the file systems on the
>> HDD.
>
> Try 'sudo gdisk -l /dev/sda' if the disk is indeed GPT. That should
> list the partition table, and would probably display error messages if
> something is wrong.
"
bret at bret-Aspire-V3-772-UbuntuMATE:~$ sudo gdisk -l /dev/sda
sudo: unable to resolve host bret-Aspire-V3-772-UbuntuMATE
[sudo] password for bret:
GPT fdisk (gdisk) version 1.0.0
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 1C378A0E-EC1F-4E9B-8B5A-55B8505336D0
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 6096 sectors (3.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 821247 400.0 MiB EF02 Basic data partition
2 821248 1435647 300.0 MiB EF00 EFI system partition
3 1435648 1697791 128.0 MiB 0C01 Microsoft reserved ...
4 1697792 197010291 93.1 GiB 0700 Basic data partition
5 1917870080 1953523711 17.0 GiB 2700 Basic data partition
6 197011456 392323071 93.1 GiB EF00 Debian 7 OS
7 392323072 587634687 93.1 GiB 0700 Debian7Home
8 587634688 650135551 29.8 GiB 8200
9 650135552 845447167 93.1 GiB 0700 Data1-ext4
10 845447168 1040758783 93.1 GiB EF00 Debian6 OS
11 1040758784 1236070399 93.1 GiB 0700 Data2-ext2
12 1236070400 1440870399 97.7 GiB 0700
13 1440870400 1645670399 97.7 GiB 0700
14 1645670400 1744717765 47.2 GiB 0700 Debian6 Home
15 1744717824 1820889698 36.3 GiB 8300
16 1820891136 1917870079 46.2 GiB 8300
bret at bret-Aspire-V3-772-UbuntuMATE:~$
"
>
>> What I was intending to do, was to stay with 15.10, until the
>> publicised problems with 16.04, had been resolved/disappeared.
>
> 16.04.01 is scheduled to be released 2016-07-21, by then it will
> probably be a whole lot better.
>
>> I had understood that the support for non-LTS versions of Ubuntu, was
>> about 18 months. I must be wrong, in that understanding
>
> Support for non-LTS is 9 months, as in three months after the subsequent
> release is finished.
>
As I said, I must be wrong in my understanding, but, thank you for the
clarification.
>> > Try the above. Also remember to copy any configuration files you
>> > would like to save from your home directory (and /etc). Configuring
>> > everything from scratch can easily take a lot more time than
>> > re-installing packages.
>>
>> Okay; I intend then, to try that, when I can.
>
> I forgot to mention that a full backup before you upgrade or reinstall
> is a very good idea, although it shouldn't be necessary to say so :)
>
> Also, I wouldn't try to create an archive with apt-clone on 15.10 and
> restore it on 16.04. It is probably better to restore it also on 15.10
> and then run do-release-upgrade.
>
That would be my intention - sticking with the same version, for the
reproduction, then dist-upgrade later (well, the Ubuntu Software
Updater GUI way of doing it).
--
Bret Busby
Armadale
West Australia
..............
"So once you do know what the question actually is,
you'll know what the answer means."
- Deep Thought,
Chapter 28 of Book 1 of
"The Hitchhiker's Guide to the Galaxy:
A Trilogy In Four Parts",
written by Douglas Adams,
published by Pan Books, 1992
....................................................
More information about the ubuntu-users
mailing list