Choose style:

Author Topic: Broken packages  (Read 4164 times)

0 Members and 1 Guest are viewing this topic.

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Broken packages
« on: October 23, 2015, 01:07:26 pm »
Hi,

Synaptic Package Manager tells me that I have 3 broken packages, which are listed below the "Broken dependencies" filter and are the following:
libapt-pkg4.12
libc-dev-bin
libc6-dev

I then run Edit -> Fix broken packages, then Apply which displays the 3 packages to be upgraded:
apt (version 0.8.16~exp12ubuntu10.25) will be upgraded to version 1.0.1ubuntu2.10
libc-dev-bin (version 2.15-0ubuntu10.12) will be upgraded to version 2.19-0ubuntu6.6
libc6-dev (version 2.15-0ubuntu10.12) will be upgraded to version 2.19-0ubuntu6.6

But then the installation fails, returning the following:
E: /var/cache/apt/archives/apt_1.0.1ubuntu2.10_i386.deb: trying to overwrite '/usr/bin/apt', which is also in package peppermint-system 3.0.2
and the details:
(synaptic:8589): GLib-CRITICAL **: g_child_watch_add_full: assertion 'pid > 0' failed
debconf: unable to initialize frontend: Gnome
debconf: (Can't locate Gtk2.pm in @INC (you may need to install the Gtk2 module) (@INC contains: /etc/perl /usr/local/lib/perl/5.18.2 /usr/local/share/perl/5.18.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.18 /usr/share/perl/5.18 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 91, <> line 3.)
debconf: falling back to frontend: Dialog
E: Could not open file descriptor -1
E: Prior errors apply to /var/cache/apt/archives/libc6-dev_2.19-0ubuntu6.6_i386.deb
E: Prior errors apply to /var/cache/apt/archives/libc-dev-bin_2.19-0ubuntu6.6_i386.deb
debconf: apt-extracttemplates failed: No such file or directory
(Reading database ... 408879 files and directories currently installed.)
Preparing to unpack .../apt_1.0.1ubuntu2.10_i386.deb ...
Unpacking apt (1.0.1ubuntu2.10) over (0.8.16~exp12ubuntu10.25) ...
dpkg: error processing archive /var/cache/apt/archives/apt_1.0.1ubuntu2.10_i386.deb (--unpack):
 trying to overwrite '/usr/bin/apt', which is also in package peppermint-system 3.0.2
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.6.1-2ubuntu2) ...
Errors were encountered while processing:
 /var/cache/apt/archives/apt_1.0.1ubuntu2.10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:

Tried the following but doesn't help:
sudo apt-get clean
sudo apt-get install -f
sudo apt-get update  -f

Can anyone help me please!?!?!?

Thanks!

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #1 on: October 23, 2015, 02:08:39 pm »
Hi Parcheval, and welcome to the forum :)

Which version of Peppermint is this ?

If you're in Peppermint 6 peppermint-system shouldn't at version 3.0.2 .. it should be at 5.2.7  :-\
« Last Edit: October 23, 2015, 02:10:13 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #2 on: October 26, 2015, 05:35:34 am »
Thanks for the welcome!
Sorry for the late reply, was expecting to get a email when someone replied to the topic....

lsb_release -a:
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 14.04.3 LTS
Release:   14.04
Codename:   trusty

So Peppermint 5 if I'm not mistaken

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #3 on: October 26, 2015, 06:06:57 am »
Well you've done something MAJORLY wrong with your system as lsb-release for Peppermint 6 reads
Code: [Select]
lsb_release -a
No LSB modules are available.
Distributor ID: Peppermint
Description: Peppermint Six
Release: 6
Codename: trusty
and Peppermint 5 would have been
Code: [Select]
lsb_release -a
No LSB modules are available.
Distributor ID: Peppermint
Description: Peppermint Five
Release: 5
Codename: trusty
NO Peppermint release has ever been based on 14.04.3 .. the latest Peppermint 6 is based on 14.04.2  :-\

The first thing we need to do is try discover which version it is

What's the output from:
Code: [Select]
cat /etc/issue
and
Code: [Select]
uname -a
and
Code: [Select]
cat /etc/xdg/lxsession/Peppermint/desktop.conf | grep "file_manager/command"
and
Code: [Select]
cat /etc/apt/sources.list; for X in /etc/apt/sources.list.d/*; do echo; echo; echo "** $X:"; echo; cat $X; done
« Last Edit: October 26, 2015, 06:15:50 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #4 on: October 26, 2015, 11:03:23 am »
Here are the requested printouts (sorry, currently on Peppermint 3):

What's the output from:
Code: [Select]
cat /etc/issue
Ubuntu 14.04.3 LTS \n \l

What's the output from:
Code: [Select]
uname -a
Linux maripierre01 3.2.0-90-generic #128-Ubuntu SMP Fri Aug 14 21:44:10 UTC 2015

What's the output from:
Code: [Select]
cat /etc/xdg/lxsession/Peppermint/desktop.conf | grep "file_manager/command"
No output

What's the output from:
Code: [Select]
cat /etc/apt/sources.list; for X in /etc/apt/sources.list.d/*; do echo; echo; echo "** $X:"; echo; cat $X; done
Spoiler (click here to view / hide)
# deb cdrom:[Peppermint 3 _Three_ - Release i386 (20120423)]/ precise main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://es.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://es.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://es.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://es.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://es.archive.ubuntu.com/ubuntu/ trusty universe
deb http://es.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://es.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://es.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://es.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://es.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://es.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main
deb http://archive.canonical.com/ trusty partner
deb-src http://archive.canonical.com/ trusty partner


** /etc/apt/sources.list.d/acestream.list:

# deb http://repo.acestream.org/ubuntu/ trusty main # disabled on upgrade to trusty


** /etc/apt/sources.list.d/acestream.list.distUpgrade:

deb http://repo.acestream.org/ubuntu/ precise main


** /etc/apt/sources.list.d/peppermint.list:

# deb http://ppa.launchpad.net/kendalltweaver/peppermint/ubuntu trusty main # disabled on upgrade to trusty
# deb-src http://ppa.launchpad.net/kendalltweaver/peppermint/ubuntu trusty main # disabled on upgrade to trusty
# deb http://ppa.launchpad.net/chromium-daily/stable/ubuntu trusty main # disabled on upgrade to trusty
# deb-src http://ppa.launchpad.net/chromium-daily/stable/ubuntu trusty main # disabled on upgrade to trusty
# deb http://ppa.launchpad.net/ferramroberto/precise/ubuntu trusty main # disabled on upgrade to trusty
# deb-src http://ppa.launchpad.net/ferramroberto/precise/ubuntu trusty main # disabled on upgrade to trusty


** /etc/apt/sources.list.d/peppermint.list.distUpgrade:

deb http://ppa.launchpad.net/kendalltweaver/peppermint/ubuntu precise main
deb-src http://ppa.launchpad.net/kendalltweaver/peppermint/ubuntu precise main
deb http://ppa.launchpad.net/chromium-daily/stable/ubuntu precise main
deb-src http://ppa.launchpad.net/chromium-daily/stable/ubuntu precise main
deb http://ppa.launchpad.net/ferramroberto/precise/ubuntu precise main
deb-src http://ppa.launchpad.net/ferramroberto/precise/ubuntu precise main


** /etc/apt/sources.list.d/peppermint.list.save:

deb http://ppa.launchpad.net/kendalltweaver/peppermint/ubuntu precise main
deb-src http://ppa.launchpad.net/kendalltweaver/peppermint/ubuntu precise main
deb http://ppa.launchpad.net/chromium-daily/stable/ubuntu precise main
deb-src http://ppa.launchpad.net/chromium-daily/stable/ubuntu precise main
deb http://ppa.launchpad.net/ferramroberto/precise/ubuntu precise main
# deb-src http://ppa.launchpad.net/ferramroberto/precise/ubuntu precise main
[close]
« Last Edit: October 26, 2015, 11:44:30 am by AndyInMokum »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #5 on: October 26, 2015, 11:48:25 am »
Well I'm not at all surprised you have broken packages .. it looks like you're running Peppermint 3 (which was based on Ubuntu 12.04 - precise), but you've changed all your repositories and lsb-release info to 14.04 - trusty

Fixing this will be a nightmare .. I'd SERIOUSLY suggest reinstalling would be the easier option otherwise you're going to have to put all the repos back to how they should be, then downgrade all your software packages manually (one at a time) which will cause you all sorts of dependency headaches.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #6 on: October 26, 2015, 12:09:25 pm »
Ok, thanks...

Any hint on how to do it? Simply re-insert the CD and start from scratch or is there any procedure to follow before to re-install?

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2188
  • Karma: 591
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Broken packages
« Reply #7 on: October 26, 2015, 01:09:34 pm »
Hi Parcheval,

The only procedure to follow is to back up all of your personal files (pictures, music, documents, etc) onto either an external device (USB, CD, DVD) or a separate partition. Of course, you need to know which partition your old Peppermint installation was using. Also: are you planning to dual boot this with a Windoze installation? If so, which one?

Otherwise just use the newest Peppermint Six Respin and do a complete installation that will re-format your old Peppermint partition (thereby erasing all files on that partition). This is the best way to get your system working again.

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #8 on: October 26, 2015, 02:30:06 pm »
I'm using it in a dual boot mode with Windows XP but don't have lots of things stored in the Peppermint partition so is not a big deal to re-format this partition.

Just one thing: as this is a pretty old computer, will Peppermint 6 run properly on it, or better to simply re-install Peppermint 3?

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2188
  • Karma: 591
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Broken packages
« Reply #9 on: October 26, 2015, 02:36:55 pm »
Hi Parcheval,

If it now runs XP then it should run Peppermint Six too. Peppermint Three is history.

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Broken packages
« Reply #10 on: October 26, 2015, 02:42:22 pm »
Hi Parcheval, welcome to the Peppermint Forum.  Don't worry we'll help you get up and running   ;DPeppermint Six runs really well on older hardware.   Could you post back the output from the following command:
Code: [Select]
inxi -F
When you post an output to the forum.  Could you please remember to encapsulate it with either the, # Insert Code function or the, Sp Spoiler function if it very long.  This preserves the original format of the output.  These functions are found above the,  :-[ Embarrassed and  :'( Cry emoticon respectively in the forum editor - many thanks  ;).
« Last Edit: October 26, 2015, 02:46:52 pm by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline Parcheval

  • Newly Subscribed
  • *
  • Posts: 11
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 5
Re: Broken packages
« Reply #11 on: October 26, 2015, 03:17:18 pm »
Thanks a lot for all your help!

Here's the inxi -F output:
Code: [Select]
System:    Host: maripierre01 Kernel: 3.2.0-90-generic i686 (32 bit) 
           Desktop: LXDE (Openbox 3.5.0) Distro: Ubuntu 14.04 trusty
Machine:   System: Dell product: Dimension 4550
           Mobo: Dell model: N/A Bios: Dell version: A02 date: 10/02/2002
CPU:       Single core Intel Pentium 4 CPU (-UP-) cache: 512 KB flags: (sse sse2) clocked at 2392.010 MHz
Graphics:  Card: NVIDIA NV17 [GeForce4 MX 420]
           X.Org: 1.15.1 drivers: (unloaded: fbdev,vesa) FAILED: nouveau Resolution: 1280x1024@60.0hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) GLX Version: 2.1 Mesa 10.1.3
Audio:     Card: Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller driver: snd_intel8x0
           Sound: Advanced Linux Sound Architecture ver: 1.0.24
Network:   Card: Intel 82801DB PRO/100 VE (LOM) Ethernet Controller driver: e100
           IF: eth0 state: down mac: 00:07:e9:ef:0c:a0
Drives:    HDD Total Size: 244.7GB (2.9% used) 1: /dev/sda IC35L080AVVA07 80.0GB
           2: /dev/sdb HDT722516DLAT80 164.7GB
Partition: ID: / size: 27G used: 6.7G (27%) fs: ext4 ID: swap-1 size: 1.07GB used: 0.01GB (1%) fs: swap
Sensors:   Error: You do not have the sensors app installed.
Info:      Processes: 114 Uptime: 10:05 Memory: 313.5/1000.9MB Client: Shell inxi: 1.7.33

Offline Slim.Fatz

  • Global Moderator
  • Veteran
  • *****
  • Posts: 2188
  • Karma: 591
  • Where's the mouse?
    • View Profile
  • Peppermint version(s): Peppermint 7, 8.5 & 10 - 64bit
Re: Broken packages
« Reply #12 on: October 26, 2015, 03:21:44 pm »
Hi Parcheval,

If in doubt, try booting Peppermint Six in a live session (USB or CD). If it runs as a live session, then installation should work too.

Regards,

-- Slim
"Life first -- Peppermint a close 2nd!" -- Zeb

Tread lightly: Fluxbox, JWM, i3, Openbox, awesome

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26452
  • Karma: 65531
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Broken packages
« Reply #13 on: October 26, 2015, 04:13:53 pm »
How I'd do it.....

Boot to the Peppeermint 6 LiveCD/LiveUSB, then use GParted to delete the Peppermint 3 and swap partition leaving the space unpartitioned.

Then install peppermint 6 .. it should offer to use the unpartitioned space.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4889
  • Karma: 1058
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 10 (64-bit)
Re: Broken packages
« Reply #14 on: October 26, 2015, 05:54:40 pm »
Thanks a lot for all your help!

Here's the inxi -F output:
Code: [Select]
System:    Host: maripierre01 Kernel: 3.2.0-90-generic i686 (32 bit) 
           Desktop: LXDE (Openbox 3.5.0) Distro: Ubuntu 14.04 trusty
Machine:   System: Dell product: Dimension 4550
           Mobo: Dell model: N/A Bios: Dell version: A02 date: 10/02/2002
CPU:       Single core Intel Pentium 4 CPU (-UP-) cache: 512 KB flags: (sse sse2) clocked at 2392.010 MHz
Graphics:  Card: NVIDIA NV17 [GeForce4 MX 420]
           X.Org: 1.15.1 drivers: (unloaded: fbdev,vesa) FAILED: nouveau Resolution: 1280x1024@60.0hz
           GLX Renderer: Gallium 0.4 on llvmpipe (LLVM 3.4, 128 bits) GLX Version: 2.1 Mesa 10.1.3
Audio:     Card: Intel 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller driver: snd_intel8x0
           Sound: Advanced Linux Sound Architecture ver: 1.0.24
Network:   Card: Intel 82801DB PRO/100 VE (LOM) Ethernet Controller driver: e100
           IF: eth0 state: down mac: 00:07:e9:ef:0c:a0
Drives:    HDD Total Size: 244.7GB (2.9% used) 1: /dev/sda IC35L080AVVA07 80.0GB
           2: /dev/sdb HDT722516DLAT80 164.7GB
Partition: ID: / size: 27G used: 6.7G (27%) fs: ext4 ID: swap-1 size: 1.07GB used: 0.01GB (1%) fs: swap
Sensors:   Error: You do not have the sensors app installed.
Info:      Processes: 114 Uptime: 10:05 Memory: 313.5/1000.9MB Client: Shell inxi: 1.7.33
I don't see a PAE flag on the CPU.  This is likely to cause you problems installing Peppermint Six.  There MIGHT be a way of forcing your CPU to use forcepaePCNetSpec can better answer that question  ;).  Failing that, you can always install Peppermint Three as it is NON-PAEPeppermint Three is also supported until April 2017.  I suggest you hold off until you get confirmation - good luck  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.