LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-22-2017, 08:14 AM   #31
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled

Those aren't sources, that's a Suicide Note.
I believe 17.3 has the feature to restore default sources.

Code:
mint-sources
is what I use.

Garbage in. garbage out.
Who installs garbage?
 
Old 03-22-2017, 09:55 AM   #32
Desant
LQ Newbie
 
Registered: Mar 2017
Location: Moscow, Russia
Distribution: Mint 18.1
Posts: 10

Rep: Reputation: Disabled
Ok. I understand.
Done:

Quote:
sudo apt-get update
[sudo] password for artem:
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial InRelease [247 kB]
Ign:3 http://packages.linuxmint.com serena InRelease
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Hit:5 http://packages.linuxmint.com serena Release
Get:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages [1*201 kB]
Get:10 http://packages.linuxmint.com serena/backport amd64 Packages [72,7 kB]
Get:11 http://packages.linuxmint.com serena/backport i386 Packages [73,3 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial/main i386 Packages [1*196 kB]
Get:13 http://archive.ubuntu.com/ubuntu xenial/main Translation-en [568 kB]
Get:14 http://archive.ubuntu.com/ubuntu xenial/restricted amd64 Packages [8*344 B]
Get:15 http://archive.ubuntu.com/ubuntu xenial/restricted i386 Packages [8*684 B]
Get:16 http://archive.ubuntu.com/ubuntu xenial/restricted Translation-en [2*908 B]
Get:17 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7*532 kB]
Get:18 http://archive.ubuntu.com/ubuntu xenial/universe i386 Packages [7*512 kB]
Get:19 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4*354 kB]
Get:20 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 kB]
Get:21 http://archive.ubuntu.com/ubuntu xenial/multiverse i386 Packages [140 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [496 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [486 kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [199 kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/restricted amd64 Packages [7*776 B]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/restricted i386 Packages [7*792 B]
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Translation-en [2*548 B]
Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [442 kB]
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [431 kB]
Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en [169 kB]
Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 Packages [8*652 B]
Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse i386 Packages [7*452 B]
Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Translation-en [4*028 B]
Get:35 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 Packages [4*672 B]
Get:36 http://archive.ubuntu.com/ubuntu xenial-backports/main i386 Packages [4*660 B]
Get:37 http://archive.ubuntu.com/ubuntu xenial-backports/main Translation-en [3*200 B]
Get:38 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 Packages [2*512 B]
Get:39 http://archive.ubuntu.com/ubuntu xenial-backports/universe i386 Packages [2*508 B]
Get:40 http://archive.ubuntu.com/ubuntu xenial-backports/universe Translation-en [1*216 B]
Fetched 25,8 MB in 21s (1*191 kB/s)
Reading package lists... Done
 
Old 03-22-2017, 10:06 AM   #33
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Thanks. Looks good but something may be wrong with the architecture. To check it out, can you paste the output from:

inxi -S

dpkg --print-architecture

dpkg --print-foreign-architectures
 
1 members found this post helpful.
Old 03-22-2017, 10:58 AM   #34
Desant
LQ Newbie
 
Registered: Mar 2017
Location: Moscow, Russia
Distribution: Mint 18.1
Posts: 10

Rep: Reputation: Disabled
Here
Quote:
inxi -S
System: Host: artem-W840AU Kernel: 4.4.0-64-generic x86_64 (64 bit) Desktop: Cinnamon 3.2.7
Distro: Linux Mint 18.1 Serena
Quote:
dpkg --print-architecture
amd64
Quote:
pkg --print-foreign-architectures
i386
 
Old 03-22-2017, 11:20 AM   #35
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Thanks Desant. Please bear with me. The system shouldn't have been accessing both the amd64 and i386 portions of the repos, unless that had been specified in the sources files.

The problem might lie in the APT configuration itself. So, can you paste the output from:

apt-config dump | grep "rchit"
 
1 members found this post helpful.
Old 03-22-2017, 11:34 AM   #36
Desant
LQ Newbie
 
Registered: Mar 2017
Location: Moscow, Russia
Distribution: Mint 18.1
Posts: 10

Rep: Reputation: Disabled
Sure:

Quote:
apt-config dump | grep "rchit"
APT::Architecture "amd64";
APT::Architectures "";
APT::Architectures:: "amd64";
APT::Architectures:: "i386";
 
Old 03-22-2017, 11:38 AM   #37
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Thanks - that looks fine. I am at a loss as to what's causing that APT behaviour, but let's press on regardless.

Can you paste the output from sudo apt-get upgrade - this will show us which packages need upgrading and if you have any conflicts that need resolving.
 
1 members found this post helpful.
Old 03-22-2017, 11:48 AM   #38
Desant
LQ Newbie
 
Registered: Mar 2017
Location: Moscow, Russia
Distribution: Mint 18.1
Posts: 10

Rep: Reputation: Disabled
Should I proceed with upgrade?

Quote:
sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
apt apt-transport-https apt-utils bsdutils console-setup console-setup-linux dbus dbus-x11 desktop-file-utils gir1.2-appindicator3-0.1 gir1.2-gst-plugins-bad-1.0 gir1.2-gst-plugins-base-1.0 gir1.2-gstreamer-1.0 gir1.2-gtk-3.0
gir1.2-networkmanager-1.0 grub-common grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed grub2-common gstreamer1.0-alsa gstreamer1.0-plugins-base gstreamer1.0-plugins-base-apps gstreamer1.0-plugins-good gstreamer1.0-pulseaudio
gstreamer1.0-tools gstreamer1.0-x im-config init init-system-helpers keyboard-configuration klibc-utils kpartx kpartx-boot krb5-locales libappindicator0.1-cil libappindicator1 libappindicator3-1 libapt-inst2.0 libapt-pkg5.0 libblkid1
libc-bin libc-dev-bin libc6 libc6:i386 libc6-dbg libc6-dev libdbus-1-3 libdbus-1-3:i386 libdrm-amdgpu1 libdrm-amdgpu1:i386 libdrm-intel1 libdrm-intel1:i386 libdrm-nouveau2 libdrm-nouveau2:i386 libdrm-radeon1 libdrm-radeon1:i386
libdrm2 libdrm2:i386 libegl1-mesa libegl1-mesa-drivers libexiv2-14 libfdisk1 libgail-3-0 libgbm1 libgl1-mesa-dri:i386 libgl1-mesa-dri libgl1-mesa-glx:i386 libgl1-mesa-glx libglapi-mesa:i386 libglapi-mesa libgles1-mesa libgles2-mesa
libglib2.0-0 libglib2.0-0:i386 libglib2.0-bin libglib2.0-data libgssapi-krb5-2 libgssapi-krb5-2:i386 libgstreamer-plugins-bad1.0-0 libgstreamer-plugins-base1.0-0 libgstreamer-plugins-base1.0-0:i386 libgstreamer-plugins-good1.0-0
libgstreamer1.0-0 libgstreamer1.0-0:i386 libgtk-3-0 libgtk-3-bin libgtk-3-common libk5crypto3 libk5crypto3:i386 libklibc libkrb5-3 libkrb5-3:i386 libkrb5support0 libkrb5support0:i386 libmount1 libnl-3-200 libnl-genl-3-200
libnm-glib-vpn1 libnm-glib4 libnm-util2 libnm0 libpam-systemd libpq5 libpulse-mainloop-glib0:i386 libpulse-mainloop-glib0 libpulse0 libpulse0:i386 libpulsedsp:i386 libpulsedsp libsmartcols1 libsystemd0 libsystemd0:i386 libudev1
libudev1:i386 libuuid1 libuuid1:i386 libwayland-egl1-mesa libwxbase3.0-0v5 libwxgtk3.0-0v5 libxatracker2 locales minicom mount multiarch-support nano ndiswrapper ndiswrapper-dkms ndiswrapper-utils-1.9 network-manager
network-manager-openvpn network-manager-openvpn-gnome os-prober pulseaudio pulseaudio-module-bluetooth pulseaudio-module-x11 pulseaudio-utils resolvconf sni-qt sudo systemd systemd-sysv udev util-linux uuid-runtime
virtualbox-guest-dkms virtualbox-guest-utils virtualbox-guest-x11 whois xserver-xorg-video-amdgpu
150 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 65,7 MB/65,8 MB of archives.
After this operation, 478 kB of additional disk space will be used.
Do you want to continue? [Y/n]
 
Old 03-22-2017, 11:55 AM   #39
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
That's a lot of upgrading to do. It shouldn't be a problem (although the chances of entanglement are greater in this case than if upgrades are kept on top of) but, before you go for it, have you taken any system backups/images lately? If not, perhaps you should do so now. If that doesn't worry you so much, then go ahead and upgrade.
 
1 members found this post helpful.
Old 03-22-2017, 12:10 PM   #40
Desant
LQ Newbie
 
Registered: Mar 2017
Location: Moscow, Russia
Distribution: Mint 18.1
Posts: 10

Rep: Reputation: Disabled
Its done.
 
Old 03-22-2017, 12:26 PM   #41
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Sweet. Ok, now we should start introducing the other repositories.

What I recommend is that you re-enable them one by one (through software-sources which you used previously to disable them), followed for each one by closing software-sources, then sudo apt-get update and sudo apt-get upgrade. If there are any errors or even just warnings, or something happens which you don't understand then come back on here and paste the relevant input/output.

Ensure that you know exactly why you are using each repository that you re-enable, and which software it is providing (Google it or go to the http address if you're unsure).

Don't re-enable the following (because they are pointing at the wrong distro version or at an unstable repo):

Adobe Air: http://ppa.launchpad.net/dajhorn/adobeair/ubuntu

Canonical Partners: http://archive.canonical.com/ubuntu/

Getdeb: http://archive.getdeb.net/ubuntu

Security (Precise): http://security.ubuntu.com/ubuntu

Ubuntu extras: http://extras.ubuntu.com/ubuntu/

Webupd8team: http://ppa.launchpad.net/webupd8team/unstable/ubuntu

Wireshark (Trusty): http://ppa.launchpad.net/wireshark-d...rk-deps/ubuntu

I hope I've covered them all.

If you are in doubt about anything, shout.

Last edited by hydrurga; 03-22-2017 at 12:28 PM.
 
1 members found this post helpful.
Old 03-22-2017, 12:42 PM   #42
Desant
LQ Newbie
 
Registered: Mar 2017
Location: Moscow, Russia
Distribution: Mint 18.1
Posts: 10

Rep: Reputation: Disabled
Thanks a lot.
I've added only Google, wine, Opera and wireshark repos. No errors so far.
Wireshark is already installed and running.

Thank you for your very helpful advice.
 
Old 03-22-2017, 12:55 PM   #43
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
Quote:
Originally Posted by Desant View Post
Thanks a lot.
I've added only Google, wine, Opera and wireshark repos. No errors so far.
Wireshark is already installed and running.

Thank you for your very helpful advice.
Excellent. If there are any repositories that you know you don't need then remove them (not just disable them) using software-sources (it keeps things nice and organised).

The situation may well have been caused by you pasting code straight from the web in order to add PPAs and repositories. This has to be done only with caution.

To add PPAs, you should use e.g. add-apt-repository ppa:ppa_user/ppa_name - this not only adds the PPA but also downloads the PPA key to ensure authentication (assuming of course that the repository maintainer can be trusted ).

For other repositories, the methods differ, often using apt-key, wget and other commands. Here you should try to ensure that the source seems one you can trust and that the distro version, if applicable, matches.

In general, of course, try to install software from the official repositories if possible.

Last edited by hydrurga; 03-22-2017 at 02:08 PM. Reason: Oops
 
1 members found this post helpful.
Old 03-22-2017, 12:57 PM   #44
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 20 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917Reputation: 2917
A final piece of advice:

Try to run the sudo apt-get update, sudo apt-get upgrade combination fairly often and upgrade where required.

If either of these commands produce errors or warnings then sort the problem out. A stitch in time saves nine.

Cheers.
 
1 members found this post helpful.
Old 03-22-2017, 01:26 PM   #45
Desant
LQ Newbie
 
Registered: Mar 2017
Location: Moscow, Russia
Distribution: Mint 18.1
Posts: 10

Rep: Reputation: Disabled
Ok. Thanks again.
I'll write down those.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Solved Dependency Is Not satisfiable: libvpx1 Error While Installing VirtualBox In Linux Mint 18 Beta LXer Syndicated Linux News 0 06-12-2016 10:15 PM
Mint upgrade => dependency problem ThePigster Linux - Software 3 06-05-2011 06:13 PM
library dependency error when starting wireshark/tcpdump danielle Linux - Newbie 5 01-07-2011 05:09 AM
Problem installing wireshark with yum bozoka45 Fedora 4 10-12-2007 04:33 PM
dependency problem by installing j2sdk-1_4_2-linux-i586.rpm linuxJaver Slackware 8 07-05-2003 12:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration