
inxi -Sr


zerozero wrote:let's start with checking how big is the damage![]()
post back, please, the output of
- Code: Select all
inxi -Sr

deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-freecat /etc/apt/preferencesPackage: *
Pin: release o=linuxmint
Pin-Priority: 700
Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700
Package: *
Pin: release o=Debian
Pin-Priority: 500



zerozero wrote::shock: well that's an impressive mess, if i may say so![]()
i assume (but that's the best i can do: assumptions) that you installed the last iso available http://blog.linuxmint.com/?p=1979 if so, your default repos should look like this
- Code: Select all
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
if the above assumptions are true, just delete everything and copy&past these in.
regarding the preferences file, check with
- Code: Select all
cat /etc/apt/preferences
you should have there this
- Code: Select all
Package: *
Pin: release o=linuxmint
Pin-Priority: 700
Package: *
Pin: origin packages.linuxmint.com
Pin-Priority: 700
Package: *
Pin: release o=Debian
Pin-Priority: 500
tells us how it goes




ashfaq@naktasher ~ $ inxi -Sr
System: Host naktasher Kernel 3.2.0-2-amd64 x86_64 (64 bit) Distro Linux Mint Xfce Edition
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
ashfaq@naktasher ~ $
Release file for http://debian.linuxmint.com/latest/dist ... /InRelease is expired (invalid since 45d 0h 6min 4s).


zerozero wrote::D no problem, you're close. check here viewtopic.php?f=187&t=76556 (in the known issues) there's the fix for that error.


Like clean, autoclean clears out the local repository of retrieved package files. The difference is that it
only removes package files that can no longer be downloaded, and are largely useless. This allows a cache to
be maintained over a long period without it growing out of control. The configuration option
APT::Clean-Installed will prevent installed packages from being erased if it is set to off.
clean clears out the local repository of retrieved package files. It removes everything but the lock file from
/var/cache/apt/archives/ and /var/cache/apt/archives/partial/. When APT is used as a dselect(1) method, clean
is run automatically. Those who do not use dselect will likely want to run apt-get clean from time to time to
free up disk space
check is a diagnostic tool; it updates the package cache and checks for broken dependencies.

craigevil wrote:Lets clean things up a bit. Explanation of commands is listed after the commands.
apt-get autocleanLike clean, autoclean clears out the local repository of retrieved package files. The difference is that it
only removes package files that can no longer be downloaded, and are largely useless. This allows a cache to
be maintained over a long period without it growing out of control. The configuration option
APT::Clean-Installed will prevent installed packages from being erased if it is set to off.
apt-get cleanclean clears out the local repository of retrieved package files. It removes everything but the lock file from
/var/cache/apt/archives/ and /var/cache/apt/archives/partial/. When APT is used as a dselect(1) method, clean
is run automatically. Those who do not use dselect will likely want to run apt-get clean from time to time to
free up disk space
apt-get checkcheck is a diagnostic tool; it updates the package cache and checks for broken dependencies.
apt-get update
apt-get upgrade
apt-get dist-upgrade
Post any errors you may get for the last 3 commands.
ashfaq@naktasher ~ $ apt-get autoclean
E: Could not open lock file /var/cache/apt/archives/lock - open (13: Permission denied)
E: Unable to lock the download directory
ashfaq@naktasher ~ $ sudo apt-get autoclean
[sudo] password for ashfaq:
Reading package lists... Done
Building dependency tree
Reading state information... Done
ashfaq@naktasher ~ $ sudo apt-get clean
ashfaq@naktasher ~ $ sudo apt-get check
Reading package lists... Done
Building dependency tree
Reading state information... Done
ashfaq@naktasher ~ $ sudo apt-get update
Ign http://packages.linuxmint.com debian InRelease
Hit http://debian.linuxmint.com testing InRelease
Hit http://debian.linuxmint.com testing/updates InRelease
Get:1 http://packages.linuxmint.com debian Release.gpg [197 B]
Ign http://debian.linuxmint.com testing InRelease
Get:2 http://packages.linuxmint.com debian Release [12.2 kB]
Hit http://debian.linuxmint.com testing/main amd64 Packages/DiffIndex
Hit http://debian.linuxmint.com testing/contrib amd64 Packages/DiffIndex
Hit http://debian.linuxmint.com testing/non-free amd64 Packages/DiffIndex
Ign http://debian.linuxmint.com testing/contrib TranslationIndex
Hit http://debian.linuxmint.com testing/main TranslationIndex
Ign http://debian.linuxmint.com testing/non-free TranslationIndex
Hit http://debian.linuxmint.com testing/updates/main amd64 Packages
Hit http://debian.linuxmint.com testing/updates/contrib amd64 Packages
Hit http://debian.linuxmint.com testing/updates/non-free amd64 Packages
Ign http://debian.linuxmint.com testing/updates/contrib TranslationIndex
Ign http://debian.linuxmint.com testing/updates/main TranslationIndex
Ign http://debian.linuxmint.com testing/updates/non-free TranslationIndex
Hit http://debian.linuxmint.com testing Release.gpg
Hit http://debian.linuxmint.com testing/contrib Translation-en
Get:3 http://packages.linuxmint.com debian/main amd64 Packages [13.9 kB]
Hit http://debian.linuxmint.com testing/main Translation-en
Hit http://debian.linuxmint.com testing/non-free Translation-en
Hit http://debian.linuxmint.com testing Release
Get:4 http://packages.linuxmint.com debian/upstream amd64 Packages [8,656 B]
Hit http://debian.linuxmint.com testing/main amd64 Packages/DiffIndex
Hit http://debian.linuxmint.com testing/non-free amd64 Packages/DiffIndex
Ign http://debian.linuxmint.com testing/main TranslationIndex
Ign http://debian.linuxmint.com testing/non-free TranslationIndex
Get:5 http://packages.linuxmint.com debian/import amd64 Packages [55.3 kB]
Ign http://debian.linuxmint.com testing/contrib Translation-en_IN
Ign http://debian.linuxmint.com testing/non-free Translation-en_IN
Ign http://debian.linuxmint.com testing/updates/contrib Translation-en_IN
Ign http://debian.linuxmint.com testing/updates/contrib Translation-en
Ign http://debian.linuxmint.com testing/updates/main Translation-en_IN
Ign http://packages.linuxmint.com debian/import TranslationIndex
Ign http://packages.linuxmint.com debian/main TranslationIndex
Ign http://packages.linuxmint.com debian/upstream TranslationIndex
Ign http://debian.linuxmint.com testing/updates/main Translation-en
Ign http://debian.linuxmint.com testing/updates/non-free Translation-en_IN
Ign http://debian.linuxmint.com testing/updates/non-free Translation-en
Ign http://debian.linuxmint.com testing/main Translation-en_IN
Ign http://debian.linuxmint.com testing/main Translation-en
Ign http://debian.linuxmint.com testing/non-free Translation-en_IN
Ign http://debian.linuxmint.com testing/non-free Translation-en
Ign http://packages.linuxmint.com debian/import Translation-en_IN
Ign http://packages.linuxmint.com debian/import Translation-en
Ign http://packages.linuxmint.com debian/main Translation-en_IN
Ign http://packages.linuxmint.com debian/main Translation-en
Ign http://packages.linuxmint.com debian/upstream Translation-en_IN
Ign http://packages.linuxmint.com debian/upstream Translation-en
Fetched 90.3 kB in 23s (3,768 B/s)
Reading package lists... Done
ashfaq@naktasher ~ $ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ashfaq@naktasher ~ $ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ashfaq@naktasher ~ $



proxima_centauri wrote:Post your current /etc/sources.list please, in Code tags.
ashfaq@naktasher ~ $ cat gedit /etc/apt/sources.list
cat: gedit: No such file or directory
deb http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/latest testing main contrib non-free
deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/latest/multimedia testing main non-free
ashfaq@naktasher ~ $
apt policy synaptic software-properties-gtk software-properties-common python-software-properties 


zerozero wrote:[topics merged]
ashfaq,
- during the period you were using the wrong sources.list did you update the system (though synaptic, mintupdate or the terminal?)
- give us the output of this command (it's only going to check the version n. of these app in your system)
- Code: Select all
apt policy synaptic software-properties-gtk software-properties-common python-software-properties
ashfaq@naktasher ~ $ apt policy synaptic software-properties-gtk software-properties-common python-software-properties
software-properties-gtk:
Installed: 0.76.7debian2+nmu2
Candidate: 0.76.7debian2+nmu2
Version table:
*** 0.76.7debian2+nmu2 0
500 http://debian.linuxmint.com/latest/ testing/main amd64 Packages
100 /var/lib/dpkg/status
synaptic:
Installed: 0.75.4
Candidate: 0.75.4
Version table:
*** 0.75.4 0
500 http://debian.linuxmint.com/latest/ testing/main amd64 Packages
100 /var/lib/dpkg/status
python-software-properties:
Installed: 0.76.7debian2+nmu2
Candidate: 0.76.7debian2+nmu2
Version table:
*** 0.76.7debian2+nmu2 0
500 http://debian.linuxmint.com/latest/ testing/main amd64 Packages
100 /var/lib/dpkg/status
ashfaq@naktasher ~ $
apt install software-properties-common


zerozero wrote:ok, first try, let's see if this does it or not:and let us know
- Code: Select all
apt install software-properties-common


Users browsing this forum: No registered users and 7 guests