problem in linux mint sudo apt-get install

Questions about applications and software
Forum rules
Before you post please read this

problem in linux mint sudo apt-get install

Postby ramadavid on Tue Apr 29, 2014 9:28 am

i am using dell precision T3500 work station 64 bits with 6 core.

My mint version is as per follow:

/Desktop $ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: LMDE MATE Edition
Release: 1
Codename: debian
@dell ~/Desktop $ cat /etc/lsb-release
DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=1
DISTRIB_CODENAME=debian
DISTRIB_DESCRIPTION="LMDE MATE Edition"

But when I type following command :

sudo apt-get update

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

#1) Respect the privacy of others.
#2) Think before you type.
#3) With great power comes great responsibility.

[sudo] password :
E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/

and also by typing the command like :
sudo apt-get install gfortran
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
gfortran-4.8 libgfortran-4.8-dev
Suggested packages:
gfortran-multilib gfortran-doc gfortran-4.8-multilib gfortran-4.8-doc libgfortran3-dbg
The following NEW packages will be installed:
gfortran gfortran-4.8 libgfortran-4.8-dev
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 5,121 kB of archives.
After this operation, 17.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
WARNING: The following packages cannot be authenticated!
libgfortran-4.8-dev gfortran-4.8 gfortran
Install these packages without verification? [y/N] y
Err http://debian.linuxmint.com/latest/ testing/main libgfortran-4.8-dev amd64 4.8.2-1
Connection failed
Err http://debian.linuxmint.com/latest/ testing/main gfortran-4.8 amd64 4.8.2-1
Connection failed
Err http://debian.linuxmint.com/latest/ testing/main gfortran amd64 4:4.8.1-3
Connection failed
E: Failed to fetch http://debian.linuxmint.com/latest/pool ... _amd64.deb Connection failed

E: Failed to fetch http://debian.linuxmint.com/latest/pool ... _amd64.deb Connection failed

E: Failed to fetch http://debian.linuxmint.com/latest/pool ... _amd64.deb Connection failed

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
.................................................................................................................................................................
/Desktop $ sudo apt-get update --fix-missing update
E: The update command takes no arguments

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>


I read on google that error like not get lock ( first error ) is likely due
to other process ibs in work. but I not using any other process.
I also check it by top command

I am new to Linux. I am not end user.
I install mint just today..

I will appreciate help with simple language and detail instruction.


I will be a very thankful for ur help.

I am looking forward for reply.

With Best Regrds,
prashant
Last edited by karlchen on Tue Apr 29, 2014 11:20 am, edited 1 time in total.
Reason: Moved thread to "LMDE (Linux Mint Debian) ‹ Software & Applications", because it is about LMDE, not about the Mint main edition(s) which are based on Ubuntu
ramadavid
Level 1
Level 1
 
Posts: 5
Joined: Sat Apr 12, 2014 9:19 am

Linux Mint is funded by ads and donations.
 

Re: problem in linux mint sudo apt-get install

Postby killer de bug on Tue Apr 29, 2014 1:25 pm

Are you sure you don't have mintupdate or the software center open?
If I have seen further it is by standing on the shoulders of giants. [Isaac Newton]
User avatar
killer de bug
Level 7
Level 7
 
Posts: 1702
Joined: Tue Jul 08, 2008 1:49 pm
Location: Austria

Re: problem in linux mint sudo apt-get install

Postby ramadavid on Tue Apr 29, 2014 2:10 pm

Yes sure.
I reboot the system and did the mentioned step again( as per my 1st post) & i got
same output.

Where is the problem I not able to figure it out.
is the problem in apt-get or with my system ????


I will be thankful for any help.

With best wishes,
ramadavid
Level 1
Level 1
 
Posts: 5
Joined: Sat Apr 12, 2014 9:19 am

Re: problem in linux mint sudo apt-get install

Postby py-thon on Tue Apr 29, 2014 2:33 pm

ramadavid wrote:Yes sure.

100 %? If you installed LMDE today you probably did not change the settings of mintupdate. It has a stupid setting to start almost immediately after booting and then check repos every 15 minutes and thus mintupdate is bound to be in the way.
If mintupdate's icon just shows the shield without any content it is doing something and blocking software manager, package manager and anything else depending on apt (like running apt-get). In my opinion it is better to change mintupdate's settings to 4 hours or something like that. This way it will check once after booting and then wait the set time before checking again. Most days there is no update at all so it doesn't make sense checking every 15 minutes.
The second part might be a temporary problem with the server. Run mintsources and change to another mirror to ensure that it is not the mirror that's causing the problem.
Tower: LMDE Mate 64bit - Netbook: LMDE Mate 32bit
py-thon
Level 4
Level 4
 
Posts: 234
Joined: Fri Sep 27, 2013 2:24 pm
Location: Paraguay


Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 9 guests