Re: apt full-upgrade failed at marco-common package

2024-01-30 Thread Miroslav Skoric

On 1/30/24 1:43 PM, Michael Kjörling wrote:


https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.en.html#file-conflicts
should help.



Sure. Thanks!



Re: apt full-upgrade failed at marco-common package

2024-01-30 Thread Miroslav Skoric

On 1/30/24 1:40 PM, The Wanderer wrote:

/tmp/apt-dpkg-install-S65GMD/8-marco-common_1.24.1-3_all.deb (--unpack):

   trying to overwrite
'/usr/share/themes/Gorilla/metacity-1/metacity-theme-1.xml', which is
also in package gnome-themes-more 0.9.0.deb0.8


Where do you get 'gnome-themes-more' from? At least as far as I can tell
without more digging, it isn't in current stable or testing.

It *is* available on archive.debian.org and snapshot.debian.org, with
that version number, but based on the timestamps it doesn't seem to have
been updated since 2010.



Dunno ... probably it became orphaned after upgrading from some previous 
releases. I used apt-forktracer to get rid of some packages before 
upgrading to bullseye, but many packages were still listed there. I was 
cautious and did not want to remove all of those just like that ...




My first default would be to remove gnome-themes-more (possibly with
apt, possibly directly with dpkg), then try the '--fix-broken' step
again.

Assuming that works, I'd then follow it up by repeating the full-upgrade
step just to make sure, and then after that - if I really wanted
gnome-themes-more - try to reinstall it (preferably using an updated
package, if you can get your hands on one).



Thanks for advice. I tried to remove that package with apt at first, to 
no avail, but dpkg was successful. Then the '--fix-broken' step and the 
full-upgrade step performed without errors.


Misko



Re: apt full-upgrade failed at marco-common package

2024-01-30 Thread Miroslav Skoric

On 1/30/24 1:41 PM, Greg Wooledge wrote:

On Tue, Jan 30, 2024 at 01:19:09PM +0100, Miroslav Skoric wrote:

Unpacking marco-common (1.24.1-3) over (1.20.3-1) ...
.[1mdpkg:.[0m error processing archive
/tmp/apt-dpkg-install-S65GMD/8-marco-common_1.24.1-3_all.deb (--unpack):
  trying to overwrite
'/usr/share/themes/Gorilla/metacity-1/metacity-theme-1.xml', which is also
in package gnome-themes-more 0.9.0.deb0.8


These two packages can't coexist, so you're going to have to pick
one to get rid of.

I did an "apt-cache show marco", and it's a window manager intended
to be used by MATE.

I did "apt-cache show gnome-themes-more" and it doesn't exist in
Debian 12 at all.  It must have been removed at some point, or else
it came from a third party source.  (That "*deb0.8" version string
looks a little odd to me, too.)

So... figure out which of these two packages you can live without,
get rid of it, and then retry the upgrade.

Two packages both trying to supply the same file, without a Conflicts:
line or something equivalent, should be considered a bug, if they're
both Debian packages.  If one of them's third-party, then of course
all bets are off.




Thank you. I removed gnome-themes-more as I mostly use MATE. (Did not 
check whether Gnome would suffer by any means :-)




Re: apt full-upgrade failed at marco-common package

2024-01-30 Thread Michael Kjörling
On 30 Jan 2024 13:19 +0100, from sko...@uns.ac.rs (Miroslav Skoric):
> Preparing to unpack .../8-marco-common_1.24.1-3_all.deb ...
> Unpacking marco-common (1.24.1-3) over (1.20.3-1) ...
> .[1mdpkg:.[0m error processing archive
> /tmp/apt-dpkg-install-S65GMD/8-marco-common_1.24.1-3_all.deb (--unpack):
>  trying to overwrite
> '/usr/share/themes/Gorilla/metacity-1/metacity-theme-1.xml', which is also
> in package gnome-themes-more 0.9.0.deb0.8
> Errors were encountered while processing:
>  /tmp/apt-dpkg-install-S65GMD/8-marco-common_1.24.1-3_all.deb

https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.en.html#file-conflicts
should help.

-- 
Michael Kjörling  https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”



Re: apt full-upgrade failed at marco-common package

2024-01-30 Thread Greg Wooledge
On Tue, Jan 30, 2024 at 01:19:09PM +0100, Miroslav Skoric wrote:
> Unpacking marco-common (1.24.1-3) over (1.20.3-1) ...
> .[1mdpkg:.[0m error processing archive
> /tmp/apt-dpkg-install-S65GMD/8-marco-common_1.24.1-3_all.deb (--unpack):
>  trying to overwrite
> '/usr/share/themes/Gorilla/metacity-1/metacity-theme-1.xml', which is also
> in package gnome-themes-more 0.9.0.deb0.8

These two packages can't coexist, so you're going to have to pick
one to get rid of.

I did an "apt-cache show marco", and it's a window manager intended
to be used by MATE.

I did "apt-cache show gnome-themes-more" and it doesn't exist in
Debian 12 at all.  It must have been removed at some point, or else
it came from a third party source.  (That "*deb0.8" version string
looks a little odd to me, too.)

So... figure out which of these two packages you can live without,
get rid of it, and then retry the upgrade.

Two packages both trying to supply the same file, without a Conflicts:
line or something equivalent, should be considered a bug, if they're
both Debian packages.  If one of them's third-party, then of course
all bets are off.



Re: apt full-upgrade failed at marco-common package

2024-01-30 Thread The Wanderer
On 2024-01-30 at 07:19, Miroslav Skoric wrote:

> Hi,
> 
> I [partially] upgraded buster to bullseye according to official "Release 
> Notes for Debian 11 (bullseye), 32-bit PC" (October 4, 2023). I did it 
> in two sessions as suggested:
> 
> "4.4.4 Minimal system upgrade" (# apt upgrade --without-new-pkgs). That 
> part performed without any issue, and cat /etc/debian_version reported 
> 11.8 (previously it was 10.x).
> 
> "4.4.5 Upgrading the system" (# apt full-upgrade) ran also fine until 
> some 20% or so, and then failed when handled marco-common package. Here 
> are the few last lines of that session:
> 
> ...
> Preparing to unpack .../6-mate-settings-daemon-common_1.24.1-1_all.deb ...
> Unpacking mate-settings-daemon-common (1.24.1-1) over (1.20.4-1) ...
> Preparing to unpack .../7-marco_1.24.1-3_i386.deb ...
> Unpacking marco (1.24.1-3) over (1.20.3-1) ...
> Preparing to unpack .../8-marco-common_1.24.1-3_all.deb ...
> Unpacking marco-common (1.24.1-3) over (1.20.3-1) ...
> .[1mdpkg:.[0m error processing archive 
> /tmp/apt-dpkg-install-S65GMD/8-marco-common_1.24.1-3_all.deb (--unpack):
>   trying to overwrite 
> '/usr/share/themes/Gorilla/metacity-1/metacity-theme-1.xml', which is 
> also in package gnome-themes-more 0.9.0.deb0.8

Where do you get 'gnome-themes-more' from? At least as far as I can tell
without more digging, it isn't in current stable or testing.

It *is* available on archive.debian.org and snapshot.debian.org, with
that version number, but based on the timestamps it doesn't seem to have
been updated since 2010.

> Errors were encountered while processing:
>   /tmp/apt-dpkg-install-S65GMD/8-marco-common_1.24.1-3_all.deb
> 
> 
> A repeated # apt full-upgrade returned a list of unmet dependencies, 
> including this one:
> 
> marco : Depends: marco-common (= 1.24.1-3) but 1.20.3-1 is installed
> 
> At the end of the list it suggested: Try 'apt --fix-broken install' with 
> no packages (or specify a solution). I tried it and it seemed as if it 
> tried to process again the above lines (unpacking, preparing), to no avail.
> 
> What can I try to resolve that? After system reboot, I am able to reach 
> the rescue mode as root and type commands. (Green 'OK' follow all parts 
> of boot. GUI, startx fail. Shutdown, poweroff run properly.)

My first default would be to remove gnome-themes-more (possibly with
apt, possibly directly with dpkg), then try the '--fix-broken' step
again.

Assuming that works, I'd then follow it up by repeating the full-upgrade
step just to make sure, and then after that - if I really wanted
gnome-themes-more - try to reinstall it (preferably using an updated
package, if you can get your hands on one).

I suspect that files have been moved between packages since that version
was released, and (some of) the files which were previously in
gnome-themes-more are now in marco-common.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature