Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  example transition handling  (Read 1268 times)

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
example transition handling
« on: 2016/04/26, 09:43:50 »
Hello,
I'd like to demonstrate transition handling with a small example.
Testdisk depends on ntfs-3g and so it is affected by the latest ntfs-3g transition.

More exactly:
The package testdisk version 7.1+20150830-1 depends on the virtual package ntfs-3g861,
which is provided by the package ntfs-3g version 1:2015.3.14AR.1-1+b1.

Recently testdisk is broken in sid because a new version of ntfs-3g was uploaded.
The upload is necessary to rebuild testdisk for sid and
while the rebuild is pending testdisk will be broken in sid.

# apt-get -dy dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  testdisk
The following NEW packages will be installed:
  libmd0 libntfs-3g871
The following packages will be upgraded:
  libgoa-1.0-0b libgoa-1.0-common libgpg-error0 ntfs-3g printer-driver-foo2zjs printer-driver-foo2zjs-common signing-party
7 upgraded, 2 newly installed, 1 to remove and 0 not upgraded.
Need to get 1,393 kB/1,953 kB of archives.
After this operation, 1,080 kB disk space will be freed.
...   [ downloads are ommited here]
Fetched 1,393 kB in 2s (517 kB/s)   
Download complete and in download only mode.


To keep testdisk you may set ntfs-3g on hold during the transition with "apt-mark hold ntfs-3g".
My personal taste is keeping the package without setting it on hold permanently.

root@sidbox:~# apt-get dist-upgrade ntfs-3g=installed
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ntfs-3g is already the newest version (1:2015.3.14AR.1-1+b1).
Selected version '1:2015.3.14AR.1-1+b1' ( [amd64]) for 'ntfs-3g'

Calculating upgrade... Done
The following NEW packages will be installed:
  libmd0
The following packages will be upgraded:
  libgoa-1.0-0b libgoa-1.0-common libgpg-error0 printer-driver-foo2zjs printer-driver-foo2zjs-common signing-party
6 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,393 kB of archives.
After this operation, 86.0 kB of additional disk space will be used.
Do you want to continue? [Y/n] y


Btw as you can see in the screenshot the transition is over now.

greetings
musca
β€žEs irrt der Mensch, solang er strebt.β€œ  (Goethe, Faust)