Re: Borked upgrade

2013-12-29 Thread Andrei POPESCU
On Sb, 28 dec 13, 16:34:30, Frank McCormick wrote:
...
 Unpacking mate-polkit-common (1.6.0-1) ...
 dpkg: error processing archive
 /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack):
   trying to overwrite
 '/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which
 is also in package mate-polkit:i386 1.6.0-1
 Errors were encountered while processing:
   /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Fixed it..thanks to dpkg --force-overwrite

You should probably report it.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt


signature.asc
Description: Digital signature


Re: Borked upgrade

2013-12-29 Thread Sven Joachim
On 2013-12-29 10:18 +0100, Andrei POPESCU wrote:

 On Sb, 28 dec 13, 16:34:30, Frank McCormick wrote:
 ...
 Unpacking mate-polkit-common (1.6.0-1) ...
 dpkg: error processing archive
 /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack):
   trying to overwrite
 '/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which
 is also in package mate-polkit:i386 1.6.0-1
 Errors were encountered while processing:
   /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb
 E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Fixed it..thanks to dpkg --force-overwrite

 You should probably report it.

That would have been my advice as well, but the mate-polkit package in
the archive does not contain the offending file.  Frank, where did you
get it from?

Cheers,
   Sven


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87wqio9f3p@turtle.gmx.de



Re: Borked upgrade

2013-12-29 Thread Frank McCormick

On 29/12/13 04:32 AM, Sven Joachim wrote:

On 2013-12-29 10:18 +0100, Andrei POPESCU wrote:


On Sb, 28 dec 13, 16:34:30, Frank McCormick wrote:
...

Unpacking mate-polkit-common (1.6.0-1) ...
dpkg: error processing archive
/var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack):
  trying to overwrite
'/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which
is also in package mate-polkit:i386 1.6.0-1
Errors were encountered while processing:
  /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Fixed it..thanks to dpkg --force-overwrite


You should probably report it.


That would have been my advice as well, but the mate-polkit package in
the archive does not contain the offending file.  Frank, where did you
get it from?



   Because the file was still there from earlier this year I didn't get 
it from anywhere. I first ran dpkg --configure -a...that configured the 
half-installed packages...then I ran dpkg with force-overwrite. I guess 
because the offending file wasn't in the package nothing got 
overwritten. I don't fully understand why the whole episode happened.


I'll file a bug.





--
Your mail is being read by tight-lipped
NSA agents who fail to see the humor in Doctor
Strangelove.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52c02b3e.4060...@videotron.ca



Re: Borked upgrade

2013-12-29 Thread Frank McCormick

On 29/12/13 09:01 AM, Frank McCormick wrote:

On 29/12/13 04:32 AM, Sven Joachim wrote:

On 2013-12-29 10:18 +0100, Andrei POPESCU wrote:


On Sb, 28 dec 13, 16:34:30, Frank McCormick wrote:
...

Unpacking mate-polkit-common (1.6.0-1) ...
dpkg: error processing archive
/var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb
(--unpack):
  trying to overwrite
'/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which
is also in package mate-polkit:i386 1.6.0-1
Errors were encountered while processing:
  /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Fixed it..thanks to dpkg --force-overwrite


You should probably report it.


That would have been my advice as well, but the mate-polkit package in
the archive does not contain the offending file.  Frank, where did you
get it from?



Because the file was still there from earlier this year I didn't get
it from anywhere. I first ran dpkg --configure -a...that configured the
half-installed packages...then I ran dpkg with force-overwrite. I guess
because the offending file wasn't in the package nothing got
overwritten. I don't fully understand why the whole episode happened.

I'll file a bug.






   This is the answer from maintainers:

That happens when trying to update the package when using the MATE
Debian repository at the same time and is hard to avoid since
the MATE repositories contain mate-polkit while Debian has split
the package into mate-polkit and mate-polkit-common. We could
maybe add a Breaks here, but mixing different repositories is
problematic anyways.

As a hotfix, you can run:

apt-get -o Dpkg::Options::=--force-overwrite -f install

which will allow mate-polkit-common to overwrite files from the
existing mate-polkit package installed through MATE's Debian
repository.


Frank


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52c04e56.2050...@videotron.ca



Re: Borked upgrade

2013-12-28 Thread Frank McCormick

On 28/12/13 04:12 PM, Frank McCormick wrote:

Upgrading my Sid system today all went fine until the new Mate-polkit
packages.

Now even apt-get -f install won't work.

root@frank-debian:/home/frank# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
   mate-polkit-common
The following NEW packages will be installed:
   mate-polkit-common
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
54 not fully installed or removed.
Need to get 0 B/55.1 kB of archives.
After this operation, 359 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 140927 files and directories currently installed.)
Preparing to unpack .../mate-polkit-common_1.6.0-1_i386.deb ...
Unpacking mate-polkit-common (1.6.0-1) ...
dpkg: error processing archive
/var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb (--unpack):
  trying to overwrite
'/etc/xdg/autostart/polkit-mate-authentication-agent-1.desktop', which
is also in package mate-polkit:i386 1.6.0-1
Errors were encountered while processing:
  /var/cache/apt/archives/mate-polkit-common_1.6.0-1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@frank-debian:/home/frank#


'


   Fixed it..thanks to dpkg --force-overwrite




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/52bf43e6.2070...@videotron.ca