:: Re: [DNG] APT upgrade, was USB moun…
Kezdőlap
Delete this message
Reply to this message
Szerző: Alessandro Vesely
Dátum:  
Címzett: Patrick Bartek, dng
Tárgy: Re: [DNG] APT upgrade, was USB mount problem
Hi,

On Sun 04/Jul/2021 21:09:01 +0200 Patrick Bartek wrote:
> On Sat, 3 Jul 2021 13:01:52 +0200
> Alessandro Vesely via Dng <dng@???> wrote:
>> On Sat 26/Jun/2021 01:10:08 +0200 Patrick Bartek Via Dng wrote:
>>> On Fri, 25 Jun 2021 11:34:32 +0200
>>> Alessandro Vesely via Dng <dng@???> wrote:
>>>> After I did a system upgrade, I couldn't mount an USB key any
>>>> more, until I manually installed udevil. What happened,
>>>> dependency changes?
>>>
>>> This is one of the "gotchas" that can happen when running an "in
>>> development" version. As far as why it happen: could be a number of
>>> things. Most of the time, it's because a dependency, like udevil to
>>> spacefm, become mismatched version-wise. That is, udevil has become
>>> "too old" to work with spacefm, and the upgrade process uninstalls
>>> it. Try "full-grade" instead of just "upgrade" to get the newer
>>> version of the dependencies when "upgrading." In fact, this is the
>>> recommended procedure when running an "in development" or testing
>>> version.
>>
>> I tried apt-get dist-upgrade afterwards, but it didn't bring up much
>> staff. Later on, I found that some software that I don't use very
>> often was removed from my system. I had to install anew Inkscape and
>> MariaDB server.
>
> Without knowing the particulars of how you installed Chimaera or how
> it's configured, it's going to be difficult to diagnose your problems.
> However, the main problem is that you are using Chimaera which is still
> in development, and that can introduce problems. Although, usually,
> they correct themselves when the developers do the next round of
> "fixes."
>
> Did you do a clean install or upgrade from a previous version? IIRC,
> you dist-upgraded from a Debian distro, but I've forgotten which one.
> This can and does introduce problems even if done correctly.



Here's the sequence of what I did: I wrote to the list each time, so I know the exactly when.

4 January 2020: migrate from debian/stretch to beowulf
https://lists.dyne.org/lurker/message/20200104.101800.7b0f18cb.en.html
Beowulf was the stable version at the time. Afterwards, I upgraded it regularly and smoothly.


19 April 2021: upgrade from beowulf to chimaera.
https://lists.dyne.org/lurker/message/20210419.111049.2c050382.en.html
As I wrote at the time:

     Everything incredibly smooth!


     I don't know why I rebooted between upgrade and dist-upgrade.  The graphics
     didn't come up, so I run dist-upgrade on the tty terminal.  That's the only
     annoyance I had.


     Heck, the process took an inordinate amount of time.  autoremove is still
     running for 435 packages... Isn't there a way to remove packages not used
     for more than one year?



24 June 2021: apt-get update + apt-get upgrade
https://lists.dyne.org/lurker/message/20210625.093432.02c220e2.en.html
I hadn't updated the system since April.

Network printer and usb key access were damaged by the upgrade. I'm sure I used both between Apr 19 and Jun 24. For the printer, I just deleted and discovered it again. For spacefm, I installed udevil. I found no relevant differences in spacefm dependencies. I'm not sure whether udevil was installed before (it is suggested). Perhaps usb access was granted in some other way.

After looking for timestamps, I don't think I used Inkscape or MariaDB during that period. Perhaps those packages were removed during the April upgrade and I only noticed after the June upgrade.


> Post your /etc/apt/sources.list and anything that is
> in /etc/apt/sources.list.d/, too. If they are not set up properly,
> that can cause problems.



They look clean. The only file in sources.list.d, mptcp, was commented out in April, before doing the upgrade. I attach both.

   3408640      4 -rw-r--r--   1 root     root         1032 Apr 19 09:28 /etc/apt/sources.list
   3409224      4 -rw-r--r--   1 root     root           65 Apr 19 09:24 /etc/apt/sources.list.d/mptcp.list



>> I remember many release changes done in two steps, apt-get upgrade
>> followed by apt-get dist-upgrade for the rest. This time it seems
>> that the system forgot about removed packages. Is it so because
>> chimaera is not yet released?
>
> How did you remove those packages?



No idea. Didn't remove them intentionally. Not even sure /when/ they were removed.


> No. Chimaera still being Testing shouldn't be a cause..
>
> When using Testing, don't use apt-get upgrade, but only apt-get
> dist-upgrade or apt full-upgrade. This is recommended when
> running Testing instead of Stable.



Ok, lesson learned.


> Upgrade by design won't install major upgrades to apps, system files, etc.
> which can occur with Testing.


However, apt should still keep back unupgraded packages, so that if you issue a dist-upgrade afterwards, it can find them and upgrade them, correct?


> After Testing (Chimaera) becomes Stable, then use only apt-get upgrade
> or apt upgrade. There are times when dist-upgrade needs to be used
> to "fix" something, but we'll deal with that later.



Thanks a lot for explaining.

Best
Ale
--














deb http://deb.devuan.org/merged chimaera main contrib non-free
deb http://deb.devuan.org/merged chimaera-updates main contrib non-free
# not found (yet) deb http://deb.devuan.org/merged chimaera-security main contrib non-free
#deb http://deb.devuan.org/merged chimaera-backports main contrib non-free

deb-src http://deb.devuan.org/merged chimaera main contrib non-free
deb-src http://deb.devuan.org/merged chimaera-updates main contrib non-free
# deb-src http://deb.devuan.org/merged chimaera-security main contrib non-free
#deb-src http://deb.devuan.org/merged chimaera-backports main contrib non-free

# see https://www.lispa.it/wps/portal/LISPA/Home/Servizi-di-Certificazione-Digitale/Software-per-CRS-CNS
# and https://www.lispa.it/wps/wcm/connect/522c6b50-605f-4058-b0fc-55395761c989/Manuale+per+l%27installazione+e+la+configurazione+del+Software+CRS+per+Linux+v1.2.pdf?MOD=AJPERES&CONVERT_TO=URL&CACHEID=ROOTWORKSPACE-522c6b50-605f-4058-b0fc-55395761c989-mWObXTc
# doesn't work
# deb http://supportsiss.lispa.it/apt bit4id/
# deb https://dl.bintray.com/multipath-tcp/mptcp_deb stable main