LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to install using apt Debian Jessie 64Bit (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-install-using-apt-debian-jessie-64bit-4175600343/)

Gad 02-22-2017 03:37 AM

Unable to install using apt Debian Jessie 64Bit
 
Hi,

I am currently trying to install dolphin using apt and other software also. I have copied my /etc/apt/sources.list file from my working laptop to to my desktop which is not working but still I receive the errors. Please can somebody give me a heads up as to how I can fix the problem. Thank you

here are the errors

root@voip-pc:/home/marios# apt-get install dolphin

Code:

Reading package lists... Done
Building dependency tree     
Reading state information... Done
dolphin is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 dolphin : Depends: kde-runtime (> 4:4.10) but it is not going to be installed
          Depends: libbaloocore4 (>= 4:4.12.80) but it is not going to be installed
          Depends: libbaloofiles4 (>= 4:4.12.80) but it is not going to be installed
          Depends: libbaloowidgets4 (>= 4:4.13.2) but it is not going to be installed
          Depends: libkactivities6 (>= 4:4.11) but it is not going to be installed
          Depends: libkcmutils4 (>= 4:4.11) but it is not going to be installed
          Depends: libkdecore5 (>= 4:4.11) but it is not going to be installed
          Depends: libkdeui5 (>= 4:4.11) but it is not going to be installed
          Depends: libkfile4 (>= 4:4.11) but it is not going to be installed
          Depends: libkfilemetadata4 but it is not going to be installed
          Depends: libkio5 (>= 4:4.11) but it is not going to be installed
          Depends: libknewstuff3-4 (>= 4:4.11) but it is not going to be installed
          Depends: libkonq5abi1 (>= 4:4.11.2) but it is not going to be installed
          Depends: libkparts4 (>= 4:4.11) but it is not going to be installed
          Depends: libphonon4 (>= 4:4.3.0) but it is not going to be installed
          Depends: libplasma3 (>= 4:4.11) but it is not going to be installed
          Depends: libsolid4 (>= 4:4.11) but it is not going to be installed
          Depends: phonon but it is not going to be installed
          Recommends: ruby but it is not going to be installed
 kde-plasma-desktop : Depends: kde-runtime (>= 4:4.11.3) but it is not going to be installed
                      Depends: plasma-desktop (>= 4:4.11.3) but it is not going to be installed
                      Depends: kde-workspace (>= 4:4.11.3) but it is not going to be installed
                      Depends: kde-baseapps (>= 4:4.11.3) but it is not going to be installed
                      Recommends: kdm (>= 4:4.11.3) but it is not going to be installed
 libpam-modules : Breaks: libpam-modules:i386 (!= 1.1.8-3.1+deb8u2) but 1.1.8-3.1+deb8u1+b1 is to be installed
 libpam-modules:i386 : PreDepends: libpam-modules-bin:i386 (= 1.1.8-3.1+deb8u1+b1)
                      Breaks: libpam-modules (!= 1.1.8-3.1+deb8u1+b1) but 1.1.8-3.1+deb8u2 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

root@voip-pc:/home/marios# apt-get -f install

Code:

Reading package lists... Done
Building dependency tree     
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  akonadi-backend-mysql akonadi-server docbook-xsl freespacenotifier kate-data
  katepart kde-base-artwork kde-baseapps kde-baseapps-bin kde-baseapps-data
  kde-runtime kde-runtime-data kde-style-oxygen kde-wallpapers
  kde-wallpapers-default kde-window-manager kde-workspace kde-workspace-bin
  kde-workspace-data kde-workspace-kgreet-plugins kdelibs-bin kdelibs5-data
  kdelibs5-plugins kdepasswd kdepim-runtime kdepimlibs-kio-plugins kdm
  kdoctools kfind kinfocenter klipper kmenuedit konqueror konqueror-nsplugins
  konsole kpart-webkit kscreen ksysguard ksysguardd kwrite libaio1
  libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4
  libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4
  libakonadiprotocolinternals1 libattica0.4 libbaloocore4 libbaloofiles4
  libbalooqueryparser4 libbaloowidgets4 libbalooxapian4
  libboost-program-options1.55.0 libcln6 libdbusmenu-qt2 libdlrestrictions1
  libdmtx0a libepub0 libfam0 libgpgme++2 libgps21 libiodbc2 libkabc4
  libkactivities-bin libkactivities-models1 libkactivities6 libkalarmcal2
  libkatepartinterfaces4 libkcal4 libkcalcore4 libkcalutils4 libkcmutils4
  libkde3support4 libkdeclarative5 libkdecorations4abi2 libkdecore5 libkdesu5
  libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkephal4abi1 libkfile4
  libkfilemetadata4 libkgapi2-2 libkholidays4 libkhtml5 libkidletime4
  libkimap4 libkio5 libkjsapi4 libkjsembed4 libkldap4 libkmbox4
  libkmediaplayer4 libkmime4 libknewstuff2-4 libknewstuff3-4 libknotifyconfig4
  libkntlm4 libkolab0 libkolabxml1 libkonq-common libkonq5-templates
  libkonq5abi1 libkonqsidebarplugin4a libkparts4 libkpimidentities4
  libkpimtextedit4 libkpimutils4 libkprintutils4 libkpty4 libkresources4
  libkrosscore4 libkscreen1 libkscreensaver5 libksgrd4 libksignalplotter4
  libktexteditor4 libkunitconversion4 libkutils4 libkwineffects1abi5
  libkwinglesutils1 libkwinglutils1abi2 libkworkspace4abi2 libkxmlrpcclient4
  libmailtransport4 libmicroblog4 libmysqlclient18 libnepomuk4 libnepomukcore4
  libnepomukquery4a libnepomukutils4 libntrack-qt4-1 libntrack0
  libpam-modules:i386 libphonon4 libplasma-geolocation-interface4 libplasma3
  libplasmaclock4abi4 libplasmagenericshell4 libpolkit-qt-1-1 libpoppler-qt4-4
  libprison0 libprocesscore4abi1 libprocessui4a libqalculate5
  libqalculate5-data libqca2 libqimageblitz4 libqjson0 libqmobipocket1
  libqrencode3 libqt4-declarative libqt4-designer libqt4-help libqt4-network
  libqt4-opengl libqt4-qt3support libqt4-script libqt4-scripttools libqt4-sql
  libqt4-sql-mysql libqt4-svg libqt4-test libqt4-xmlpatterns
  libqtassistantclient4 libqtruby4shared2 libqtwebkit4 libruby2.1
  libsmokebase3 libsmokekdecore4-3 libsmokekdeui4-3 libsmokekfile3
  libsmokekhtml3 libsmokekio3 libsmokeknewstuff2-3 libsmokeknewstuff3-3
  libsmokekparts3 libsmokektexteditor3 libsmokekutils3 libsmokeplasma3
  libsmokeqtcore4-3 libsmokeqtdbus4-3 libsmokeqtgui4-3 libsmokeqtnetwork4-3
  libsmokeqtopengl4-3 libsmokeqtsql4-3 libsmokeqtsvg4-3 libsmokeqtwebkit4-3
  libsmokeqtxml4-3 libsmokesolid3 libsolid4 libsoprano4 libssh-gcrypt-4
  libstreamanalyzer0 libstreams0 libsyndication4 libtaskmanager4abi4
  libthreadweaver4 libweather-ion6 libxcb-damage0 libxcb-xtest0 libxerces-c3.1
  libxml2-utils libyaml-0-2 libzip2 mysql-common mysql-server-core-5.5
  nepomuk-core-data ntrack-module-libnl-0 oxygen-icon-theme oxygencursors
  phonon phonon-backend-vlc plasma-dataengines-workspace plasma-desktop
  plasma-scriptengine-javascript plasma-scriptengine-python
  plasma-scriptengine-ruby plasma-scriptengine-superkaramba
  plasma-scriptengine-webkit plasma-scriptengines plasma-widget-folderview
  plasma-widgets-workspace python-kde4 python-qt4 python-qt4-dbus python-sip
  ruby ruby-kde4 ruby-plasma ruby-qt4 ruby-qt4-webkit ruby2.1
  rubygems-integration soprano-daemon systemsettings vlc-plugin-pulse
Suggested packages:
  akonadi-backend-postgresql akonadi-backend-sqlite dbtoepub
  docbook-xsl-doc-html docbook-xsl-doc-pdf docbook-xsl-doc-text
  docbook-xsl-doc docbook-xsl-saxon fop libsaxon-java libxalan2-java
  libxslthl-java xalan djvulibre-bin icoutils konq-plugins pi fam gpsd iodbc
  hspell libqca2-plugin-cyrus-sasl libqca2-plugin-gnupg libqca2-plugin-ossl
  libqt4-declarative-folderlistmodel libqt4-declarative-gestures
  libqt4-declarative-particles libqt4-declarative-shaders qt4-qmlviewer
  libqt4-dev phonon-backend-gstreamer phonon-backend-mplayer
  plasma-scriptengine-kimono python-qt4-dbg ri ruby-dev bundler
  virtuoso-minimal
The following NEW packages will be installed:
  akonadi-backend-mysql akonadi-server docbook-xsl freespacenotifier kate-data
  katepart kde-base-artwork kde-baseapps kde-baseapps-bin kde-baseapps-data
  kde-runtime kde-runtime-data kde-style-oxygen kde-wallpapers
  kde-wallpapers-default kde-window-manager kde-workspace kde-workspace-bin
  kde-workspace-data kde-workspace-kgreet-plugins kdelibs-bin kdelibs5-data
  kdelibs5-plugins kdepasswd kdepim-runtime kdepimlibs-kio-plugins kdm
  kdoctools kfind kinfocenter klipper kmenuedit konqueror konqueror-nsplugins
  konsole kpart-webkit kscreen ksysguard ksysguardd kwrite libaio1
  libakonadi-calendar4 libakonadi-contact4 libakonadi-kabc4 libakonadi-kcal4
  libakonadi-kde4 libakonadi-kmime4 libakonadi-notes4
  libakonadiprotocolinternals1 libattica0.4 libbaloocore4 libbaloofiles4
  libbalooqueryparser4 libbaloowidgets4 libbalooxapian4
  libboost-program-options1.55.0 libcln6 libdbusmenu-qt2 libdlrestrictions1
  libdmtx0a libepub0 libfam0 libgpgme++2 libgps21 libiodbc2 libkabc4
  libkactivities-bin libkactivities-models1 libkactivities6 libkalarmcal2
  libkatepartinterfaces4 libkcal4 libkcalcore4 libkcalutils4 libkcmutils4
  libkde3support4 libkdeclarative5 libkdecorations4abi2 libkdecore5 libkdesu5
  libkdeui5 libkdewebkit5 libkdnssd4 libkemoticons4 libkephal4abi1 libkfile4
  libkfilemetadata4 libkgapi2-2 libkholidays4 libkhtml5 libkidletime4
  libkimap4 libkio5 libkjsapi4 libkjsembed4 libkldap4 libkmbox4
  libkmediaplayer4 libkmime4 libknewstuff2-4 libknewstuff3-4 libknotifyconfig4
  libkntlm4 libkolab0 libkolabxml1 libkonq-common libkonq5-templates
  libkonq5abi1 libkonqsidebarplugin4a libkparts4 libkpimidentities4
  libkpimtextedit4 libkpimutils4 libkprintutils4 libkpty4 libkresources4
  libkrosscore4 libkscreen1 libkscreensaver5 libksgrd4 libksignalplotter4
  libktexteditor4 libkunitconversion4 libkutils4 libkwineffects1abi5
  libkwinglesutils1 libkwinglutils1abi2 libkworkspace4abi2 libkxmlrpcclient4
  libmailtransport4 libmicroblog4 libmysqlclient18 libnepomuk4 libnepomukcore4
  libnepomukquery4a libnepomukutils4 libntrack-qt4-1 libntrack0 libphonon4
  libplasma-geolocation-interface4 libplasma3 libplasmaclock4abi4
  libplasmagenericshell4 libpolkit-qt-1-1 libpoppler-qt4-4 libprison0
  libprocesscore4abi1 libprocessui4a libqalculate5 libqalculate5-data libqca2
  libqimageblitz4 libqjson0 libqmobipocket1 libqrencode3 libqt4-declarative
  libqt4-designer libqt4-help libqt4-network libqt4-opengl libqt4-qt3support
  libqt4-script libqt4-scripttools libqt4-sql libqt4-sql-mysql libqt4-svg
  libqt4-test libqt4-xmlpatterns libqtassistantclient4 libqtruby4shared2
  libqtwebkit4 libruby2.1 libsmokebase3 libsmokekdecore4-3 libsmokekdeui4-3
  libsmokekfile3 libsmokekhtml3 libsmokekio3 libsmokeknewstuff2-3
  libsmokeknewstuff3-3 libsmokekparts3 libsmokektexteditor3 libsmokekutils3
  libsmokeplasma3 libsmokeqtcore4-3 libsmokeqtdbus4-3 libsmokeqtgui4-3
  libsmokeqtnetwork4-3 libsmokeqtopengl4-3 libsmokeqtsql4-3 libsmokeqtsvg4-3
  libsmokeqtwebkit4-3 libsmokeqtxml4-3 libsmokesolid3 libsolid4 libsoprano4
  libssh-gcrypt-4 libstreamanalyzer0 libstreams0 libsyndication4
  libtaskmanager4abi4 libthreadweaver4 libweather-ion6 libxcb-damage0
  libxcb-xtest0 libxerces-c3.1 libxml2-utils libyaml-0-2 libzip2 mysql-common
  mysql-server-core-5.5 nepomuk-core-data ntrack-module-libnl-0
  oxygen-icon-theme oxygencursors phonon phonon-backend-vlc
  plasma-dataengines-workspace plasma-desktop plasma-scriptengine-javascript
  plasma-scriptengine-python plasma-scriptengine-ruby
  plasma-scriptengine-superkaramba plasma-scriptengine-webkit
  plasma-scriptengines plasma-widget-folderview plasma-widgets-workspace
  python-kde4 python-qt4 python-qt4-dbus python-sip ruby ruby-kde4 ruby-plasma
  ruby-qt4 ruby-qt4-webkit ruby2.1 rubygems-integration soprano-daemon
  systemsettings vlc-plugin-pulse
The following packages will be upgraded:
  libpam-modules:i386
1 upgraded, 241 newly installed, 0 to remove and 153 not upgraded.
9 not fully installed or removed.
Need to get 0 B/234 MB of archives.
After this operation, 572 MB of additional disk space will be used.
Do you want to continue? [Y/n]

I select Y and hit enter then get the following:

Code:

Reading changelogs... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 172358 files and directories currently installed.)
Preparing to unpack .../libpam-modules_1.1.8-3.1+deb8u2_i386.deb ...
Unpacking libpam-modules:i386 (1.1.8-3.1+deb8u2) over (1.1.8-3.1+deb8u1+b1) ...
dpkg: error processing archive /var/cache/apt/archives/libpam-modules_1.1.8-3.1+deb8u2_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/man/man8/pam_exec.8.gz', which is different from other instances of package libpam-modules:i386
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
 /var/cache/apt/archives/libpam-modules_1.1.8-3.1+deb8u2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Shadow_7 02-22-2017 03:52 AM

What does your sources.list look like?

Here's mine:

Code:

deb http://security.debian.org          jessie/updates  main contrib non-free
deb http://ftp.us.debian.org/debian      jessie          main contrib non-free
deb http://ftp.us.debian.org/debian      jessie-updates  main contrib non-free
deb-src http://ftp.us.debian.org/debian  jessie          main contrib non-free
deb-src http://ftp.us.debian.org/debian  jessie-updates  main contrib non-free

You are probably missing the ???-updates which can cause issues like this. Also needed for ubuntu 14.04 and related although their naming schemes don't parallel debians.

Gad 02-22-2017 04:03 AM

Hi @Shadow_7

Here is mine. Is it safe to copy yours over to mine?

Code:

#

# deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie contrib main

#deb cdrom:[Debian GNU/Linux 8.6.0 _Jessie_ - Official amd64 DVD Binary-1 20160917-14:25]/ jessie contrib main

deb http://security.debian.org/ jessie/updates main contrib
deb-src http://security.debian.org/ jessie/updates main contrib

# Added by Marios
deb http://httpredir.debian.org/debian/ jessie main contrib non-free

# jessie-updates, previously known as 'volatile'
# A network mirror was not selected during install.  The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
# deb http://ftp.debian.org/debian/ jessie-updates main contrib
# deb-src http://ftp.debian.org/debian/ jessie-updates main contrib


Gad 02-22-2017 05:11 AM

Just to provide an update. I replaced my sources.list file to be the same as Shadow_7 however the errors are still seems to be the same.

Has anyone had this problem before?

Thanks

HappyTux 02-22-2017 10:47 AM

Quote:

Originally Posted by mariose (Post 5674473)
Just to provide an update. I replaced my sources.list file to be the same as Shadow_7 however the errors are still seems to be the same.

Has anyone had this problem before?

Thanks

Yes the libpam-modules package contains a file that is in another package so it fails to install it is a packaging error on the maintainers part try.

Code:

dpkg -i --force-overwrite /var/cache/apt/archives/libpam-modules_1.1.8-3.1+deb8u2_i386.deb
dpkg --configure -a

This should force the overwriting of the file then the next line will configure all unpacked but not yet configured packages. You will want to run your original install command again to make sure there were no missed packages left to install when the error occurred.

But now I look at the name again you have bigger problems than that you say 64bit in the title but you are installing a 386 or 32bit package adjust you sources.list to a 64bit repository, here is what my file server shows me for that package.

Code:

root@MiniFiles:/home/seeder1# apt-get install -s libpam-modules
Reading package lists... Done
Building dependency tree     
Reading state information... Done
libpam-modules is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
root@MiniFiles:/home/seeder1# apt-cache policy libpam-modules
libpam-modules:
  Installed: 1.1.8-3.1+deb8u2
  Candidate: 1.1.8-3.1+deb8u2
  Version table:
 *** 1.1.8-3.1+deb8u2 0
        500 http://ftp.de.debian.org/debian/ jessie/main amd64 Packages
        100 /var/lib/dpkg/status
root@MiniFiles:/home/seeder1# ll /var/cache/apt/archives/libpam-modules_1.1.8-3.1+deb8u2_amd64.deb
-rw-r--r-- 1 root root 306508 Nov 12 03:59 /var/cache/apt/archives/libpam-modules_1.1.8-3.1+deb8u2_amd64.deb

See the amd64 in the name that is 64bit package, my sources.list.

Code:


root@MiniFiles:/home/seeder1# cat /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 7.11.0 _Wheezy_ - Official amd64 NETINST Binary-1 20160605-17:36]/ wheezy main

#deb cdrom:[Debian GNU/Linux 7.11.0 _Wheezy_ - Official amd64 NETINST Binary-1 20160605-17:36]/ wheezy main

deb http://ftp.de.debian.org/debian/ jessie main non-free contrib
deb-src http://ftp.de.debian.org/debian/ jessie main non-free contrib

deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

# jessie-updates, previously known as 'volatile'
deb http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ jessie-updates main contrib non-free

# For zfs
deb http://ftp.debian.org/debian jessie-backports main contrib non-free


Shadow_7 02-22-2017 12:30 PM

Is it 64 bit or 32 bit? i386 suggest 32 bit, or multi-arch. Not that I'd do ZFS by distro supplied means if I was doing ZFS.

https://wiki.debian.org/Multiarch/HOWTO

$ dpkg --print-architecture

$ dpkg --print-foreign-architectures

$ lsb_release -a

You can have both arches on a single install, although not recommended for the faint at heart.

hydrurga 02-22-2017 07:38 PM

Quote:

Originally Posted by mariose (Post 5674473)
Just to provide an update. I replaced my sources.list file to be the same as Shadow_7 however the errors are still seems to be the same.

Has anyone had this problem before?

Thanks

Sorry for asking an obvious question, but did you run sudo apt-get update after replacing the sources.list file in order to resynchronise your package lists?

Gad 02-23-2017 01:50 AM

Thanks guys HappyTux advise worked


All times are GMT -5. The time now is 10:16 AM.