LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install sudo apt-get install synaptic problem help me dear :( (https://www.linuxquestions.org/questions/linux-newbie-8/install-sudo-apt-get-install-synaptic-problem-help-me-dear-4175522958/)

zeeshanayub 10-21-2014 04:03 PM

sudo apt-get update command not working
 
help me friends:(
I'm on Ubuntu 14.04 and I tried running sudo apt-get update but I get the below error:
Ign http://extras.ubuntu.com trusty/main Translation-en
100% [Connecting to pk.archive.ubuntu.com (58.65.218.244)]
working after show error:

Ign http://extras.ubuntu.com trusty/main Translation-en
Err http://pk.archive.ubuntu.com trusty InRelease

Err http://pk.archive.ubuntu.com trusty-updates InRelease

Err http://pk.archive.ubuntu.com trusty-backports InRelease

Err http://pk.archive.ubuntu.com trusty Release.gpg
Unable to connect to pk.archive.ubuntu.com:http:
Err http://pk.archive.ubuntu.com trusty-updates Release.gpg
Unable to connect to pk.archive.ubuntu.com:http:
Err http://pk.archive.ubuntu.com trusty-backports Release.gpg
Unable to connect to pk.archive.ubuntu.com:http:
W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/...usty/InRelease

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/...ates/InRelease

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/...orts/InRelease

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/...ty/Release.gpg Unable to connect to pk.archive.ubuntu.com:http:

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/...es/Release.gpg Unable to connect to pk.archive.ubuntu.com:http:

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/...ts/Release.gpg Unable to connect to pk.archive.ubuntu.com:http:

W: Some index files failed to download. They have been ignored, or old ones used instead.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

zeeshanayub 10-21-2014 04:28 PM

install sudo apt-get install synaptic problem help me dear :(
 
sudo apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
synaptic : Depends: libept1.4.12 but it is not installable
Recommends: libgtk2-perl (>= 1:1.130) but it is not going to be installed
Recommends: rarian-compat but it is not installable
E: Unable to correct problems, you have held broken packages.

zeeshanayub 10-21-2014 04:35 PM

vlc play install problem help me
 
show error
he following packages have unmet dependencies:

vlc: Depends: vlc-nox (= 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1) but 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1 is to be installed
Depends: libc6 (>= 2.15) but 2.19-0ubuntu6.3 is to be installed
Depends: libfreetype6 (>= 2.2.1) but 2.5.2-1ubuntu2.2 is to be installed
Depends: libgcc1 (>= 1:4.1.1) but 1:4.9-20140406-0ubuntu1 is to be installed
Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libqtgui4 (>= 4:4.8.0) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libsdl1.2debian (>= 1.2.11) but it is not going to be installed
Depends: libstdc++6 (>= 4.6) but 4.8.2-19ubuntu1 is to be installed
Depends: libxcb-composite0 but it is not going to be installed
Depends: libxcb-xv0 (>= 1.2) but it is not going to be installed
Depends: zlib1g (>= 1:1.2.3.3) but 1:1.2.8.dfsg-1ubuntu1 is to be installed

Ihatewindows522 10-21-2014 04:37 PM

I don't think not having Synaptic is typical for Ubuntu. :scratch:

Try downloading libept source and compiling it, then try installing synaptic again.

zeeshanayub 10-21-2014 06:59 PM

dear please send link after i download
i m install vlc play after working

Knightron 10-21-2014 07:02 PM

post the result to
Code:

cat /etc/spat/sources.list

zeeshanayub 10-21-2014 07:07 PM

cat /etc/spat/sources.list
cat: /etc/spat/sources.list: No such file or directory
and
not working some command
sudo apt-get install update/upgrade
and not install vlc play

Knightron 10-21-2014 07:08 PM

Sorry, typo.

Code:

cat /etc/apt/sources.list

frankbell 10-21-2014 07:12 PM

Please tell us more. What distro/version are you installing it to and what method are you using to install it?

zeeshanayub 10-21-2014 07:13 PM

not install synaptic and not update /upgrade command working

cat /etc/apt/sources.list

# deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2)]/ trusty main restricted

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

## Major bug fix updates produced after the final release of the
## distribution.
deb http://pk.old-releases.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://pk.old-releases.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://pk.old-releases.ubuntu.com/ubuntu/ trusty universe
deb-src http://pk.old-releases.ubuntu.com/ubuntu/ trusty universe
deb http://pk.old-releases.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://pk.old-releases.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://pk.old-releases.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://pk.old-releases.ubuntu.com/ubuntu/ trusty multiverse
deb http://pk.old-releases.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://pk.old-releases.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://pk.old-releases.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://pk.old-releases.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://old-releases.ubuntu.com/ubuntu trusty-security main restricted
deb http://old-releases.ubuntu.com/ubuntu trusty-security universe
deb-src http://old-releases.ubuntu.com/ubuntu trusty-security universe
deb http://old-releases.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://old-releases.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

## 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.ubuntu.com/ubuntu trusty universe multiverse

zeeshanayub 10-21-2014 07:19 PM

next dear

Knightron 10-21-2014 07:24 PM

Code:

cat /etc/apt/preferences

zeeshanayub 10-21-2014 07:25 PM

i not understander u talk
and not working sudo apt-get update/upgrade command working
any software not install
help me please
u send command ya link
ubuntu 14.04

zeeshanayub 10-21-2014 07:31 PM

cat /etc/apt/preferences
cat: /etc/apt/preferences: No such file or directory

show

Knightron 10-21-2014 07:34 PM

When was the last time you did an update?

zeeshanayub 10-21-2014 07:39 PM

today install ubuntu first time update but problem
and not install any software

Knightron 10-21-2014 07:47 PM

Oh i see, well before you do anything, do:
Code:

apt-get update && apt-get upgrade
So you know what you're doing, I am going to explain what that command does. It is two commands joined together with a '&&'.

The two commands by them selves are:
'apt-get update'
and
'apt-get upgrade'.

You could run those commands in that order separately and get the same result as the one command i've given you (assuming everything goes right).
apt-get is your package manager, it used to install programs. When you tell it to 'update'. It checks you /etc/apt/sources.list file. That file has all the locations/reps on where to get packages. apt-get update checks those locations to see what packages are there, so your computer knows what is available.
When you tell apt-get to upgrade, it actually downloads packages from that place, and installs/upgrades them. I hope that's clear. Either way, it's only optional reading, if you're interested in learning.

rokytnji 10-21-2014 07:53 PM

Try

Code:

sudo dpkg --configure -a
Let it finish

Then

Code:

sudo apt-get update
let it finish

then

Code:

sudo dpkg -l |grep synaptic
Then

Code:

sudo apt-get -s install synaptic
to do a simulation install of synaptic. To see what gets pulled in on a install.

The language barrier is probably gonna be a killer here.
Post output readout in code tags, That is in the toolbar of the advanced reply window. It's symbol is #.

Edit: Just saw Knightrons reply. I'll back out of here so as not to confuse the issue.
#zeeshanayub disregard my post and just listen to knightron so to avoid confusion.

zeeshanayub 10-21-2014 08:02 PM

sudo dpkg --configure -a
not show any answer

sudo apt-get update
befor same error


sudo dpkg -l |grep synaptic
ii xserver-xorg-input-synaptics 1.7.4-0ubuntu1 i386 Synaptics TouchPad driver for X.Org server


sudo apt-get -s install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
synaptic : Depends: libept1.4.12 but it is not installable
Recommends: libgtk2-perl (>= 1:1.130) but it is not going to be installed
Recommends: rarian-compat but it is not installable
E: Unable to correct problems, you have held broken packages.

zeeshanayub 10-21-2014 08:08 PM

apt-get update /upgrade same befor error

zeeshanayub 10-21-2014 08:18 PM

Depends: libc6 (>= 2.4) but 2.19-0ubuntu6.3 is to be installed
Depends: libept1.4.12 but it is not going to be installed
Depends: libgcc1 (>= 1:4.1.1) but 1:4.9-20140406-0ubuntu1 is to be installed
Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but 2.30.7-0ubuntu1 is to be installed
Depends: libglib2.0-0 (>= 2.14.0) but 2.40.0-2 is to be installed
Depends: libgtk-3-0 (>= 3.0.0) but 3.10.8-0ubuntu1.1 is to be installed
Depends: libpango-1.0-0 (>= 1.14.0) but 1.36.3-1ubuntu1 is to be installed
Depends: libstdc++6 (>= 4.6) but 4.8.2-19ubuntu1 is to be installed
Depends: libvte-2.90-9 (>= 1:0.27.2) but 1:0.34.9-1ubuntu1 is to be installed


download packegs
please send link download
ya
send command

c0d3d 10-21-2014 08:26 PM

Try running "sudo apt-get --fix-missing install vlc" (without the quotes).

Knightron 10-22-2014 02:12 AM

Quote:

Originally Posted by zeeshanayub (Post 5257443)
E: Unable to correct problems, you have held broken packages.

This is what i can't understand. Have you held any packages?

rokytnji don't hesitate to step in, i've little knowledge on Ubuntu. Those repos are foreign to me. I have to look them up to understand if they're added or not.

rokytnji 10-22-2014 07:54 AM

Quote:

sudo dpkg --configure -a
not show any answer
OK. That is good.

Quote:

sudo apt-get update
befor same error
Language barrier kicks in. We do not know same error because you have not posted any error readouts for sudo apt-get update.

I am starting to wonder if you have a corrupted iso download and we are dealing with a bad md5sum. So did you

https://help.ubuntu.com/community/HowToMD5SUM

before installing ubuntu.

My repos below for comparison (different distro but Ubuntu 14.04 just the same)

Code:

$ inxi -r
Repos:    Active apt sources in file: /etc/apt/sources.list
          deb http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty main restricted
          deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
          deb http://us.archive.ubuntu.com/ubuntu/ trusty universe
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty universe
          deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates universe
          deb http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty multiverse
          deb http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
          deb-src http://us.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
          deb http://us.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
          deb-src http://us.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
          deb http://archive.canonical.com/ trusty partner

I mention again. It is easier for us to read your posts when you put terminal readouts in code tags like I mentioned in my previous post.

EDDY1 10-22-2014 08:19 AM

I need to check my sources.list, because it seems quite odd that the OP's shows old-release.

knudfl 10-22-2014 09:48 AM

1 Attachment(s)
Right, the <URL> http://pk.archive.ubuntu.com
.. is not a valid <url>. At least not for now.

Please use "a fast link that always works",
e.g. the Swedish or Australian.

HOWTO change <url> : $ sudo gedit /etc/apt/sources.list
.. and the change the <url>'s to http://se.archive.ubuntu.com/ubuntu
-

zeeshanayub 10-22-2014 12:08 PM

ok but not working apt-get update command
not finsh befor show error

show error


sudo apt-get --fix-missing install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
vlc : Depends: vlc-nox (= 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1) but it is not going to be installed
Depends: libsdl-image1.2 (>= 1.2.10) but it is not going to be installed
Depends: libsdl1.2debian (>= 1.2.11) but it is not installable
Depends: libxcb-composite0 but it is not installable
Depends: libxcb-xv0 (>= 1.2) but it is not installable
Recommends: vlc-plugin-notify (= 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1) but it is not going to be installed
Recommends: vlc-plugin-pulse (= 2.1.4+git20141006+r54582+19+11~ubuntu14.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

zeeshanayub 10-22-2014 12:31 PM

sudo gedit /etc/apt/sources.list
i use this command open new one page

zeeshanayub 10-22-2014 01:09 PM

u use teamviewer after check my install problem

zeeshanayub 10-22-2014 01:10 PM

helo dear frd
i share teamviewer after ur install software

zeeshanayub 10-22-2014 01:11 PM

dear i share teamviewer u run command apt-get update and check error

zeeshanayub 10-22-2014 01:32 PM

help me dear install libkdecore5 pkg
 
libkde3support4 (>= 4:4.3.4) but it is not going to be installed
Depends: libkdecore5 (>= 4:4.4.95) but it is not going to be installed
Depends: libkdeui5 (>= 4:4.4.0) but it is not going to be installed
Depends: libkio5 (>= 4:4.3.4) but it is not going to be installed
Depends: libkparts4 (>= 4:4.5.85) but it is not going to be installed
Depends: libqt4-qt3support (>= 4:4.5.3) but it is not going to be installed
Depends: libqtcore4 (>= 4:4.7.0~beta1) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libqtgui4 (>= 4:4.5.3) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libsolid4 (>= 4:4.3.4) but it is not going to be installed

TB0ne 10-22-2014 01:43 PM

Quote:

Originally Posted by zeeshanayub (Post 5257832)
libkde3support4 (>= 4:4.3.4) but it is not going to be installed
Depends: libkdecore5 (>= 4:4.4.95) but it is not going to be installed
Depends: libkdeui5 (>= 4:4.4.0) but it is not going to be installed
Depends: libkio5 (>= 4:4.3.4) but it is not going to be installed
Depends: libkparts4 (>= 4:4.5.85) but it is not going to be installed
Depends: libqt4-qt3support (>= 4:4.5.3) but it is not going to be installed
Depends: libqtcore4 (>= 4:4.7.0~beta1) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libqtgui4 (>= 4:4.5.3) but 4:4.8.5+git192-g085f851+dfsg-2ubuntu4 is to be installed
Depends: libsolid4 (>= 4:4.3.4) but it is not going to be installed

...and since you don't tell us ANYTHING that would give us any ideas on what you're doing, what do you think we'll be able to tell you?? You don't tell us version/distro of Linux, what you're doing to GET the messages you posted, what you're trying to accomplish, etc., there's nothing we can help you with. Provide details and ask a clear question, and we can try to help.

TB0ne 10-22-2014 01:46 PM

Quote:

Originally Posted by zeeshanayub (Post 5257819)
u use teamviewer after check my install problem

...and....
Quote:

Originally Posted by zeeshanayub
dear i share teamviewer u run command apt-get update and check error

Read the LQ Rules; first, don't post the same question multiple times, and second, stop using text-speak, and spell out your words. It's "you" not "u".

And NO ONE HERE is going to log into your machine and fix your problems for you. If you want someone to do that, post this into the LQ Job Marketplace, along with how much you're going to PAY SOMEONE to do your work for you, and someone will be happy to do it. You were told what file to edit, what to change, and how to edit it; can't get much clearer. Running the gedit command WILL open a new window...and that window will have the file you need to change IN IT.

knudfl 10-22-2014 02:17 PM

Other thread http://www.linuxquestions.org/questi...ng-4175522953/

The OP has none valid <url>'s in /etc/apt/sources.list

zeeshanayub 10-22-2014 02:26 PM

not working

zeeshanayub 10-22-2014 02:33 PM

ubuntu 14.04

zeeshanayub 10-22-2014 02:41 PM

yr help me

suicidaleggroll 10-22-2014 02:42 PM

Quote:

Originally Posted by zeeshanayub (Post 5257874)
ubuntu 14.04

....

Quote:

Originally Posted by TB0ne (Post 5257839)
...and since you don't tell us ANYTHING that would give us any ideas on what you're doing, what do you think we'll be able to tell you?? You don't tell us version/distro of Linux, what you're doing to GET the messages you posted, what you're trying to accomplish, etc., there's nothing we can help you with. Provide details and ask a clear question, and we can try to help.


rokytnji 10-22-2014 02:52 PM

Guys, working with this dude here

http://www.linuxquestions.org/questi...ar-4175522958/

with a 20 post count and going. The Language barrier and listening and not listening.

Well, you get the idea. @ the OP.

It is starting to look like your Ubuntu sources list is incorrect. At least compared to mine.

zeeshanayub 10-22-2014 03:11 PM

open sources.list
next

zeeshanayub 10-22-2014 03:12 PM

how incorrect ubuntu sourcess list
tell me after incorrect
i m open sourcess list dear next step
what edit

jkirchner 10-22-2014 03:15 PM

Quote:

Originally Posted by rokytnji (Post 5257884)
Guys, working with this dude here

http://www.linuxquestions.org/questi...ar-4175522958/

with a 20 post count and going. The Language barrier and listening and not listening.

Well, you get the idea. @ the OP.

It is starting to look like your Ubuntu sources list is incorrect. At least compared to mine.

He has like 7 other threads open for the same issues...

http://www.linuxquestions.org/questi...ar-4175522958/

http://www.linuxquestions.org/questi...ng-4175522953/

http://www.linuxquestions.org/questi...ed-4175523053/

http://www.linuxquestions.org/questi...me-4175522961/

http://www.linuxquestions.org/questi...ng-4175522954/

http://www.linuxquestions.org/questi...me-4175522974/

http://www.linuxquestions.org/questi...tu-4175522955/

zeeshanayub 10-22-2014 03:23 PM

sudo dpkg --configure -a
i run command
but not show any answer

jkirchner 10-22-2014 03:24 PM

@zeeshanayub, you have 8 threads related to your software installation issues, check post 7 here: http://www.linuxquestions.org/questi...kg-4175523052/

I think you should stop and go with just one and answer questions in one thread until you solve your issues

zeeshanayub 10-22-2014 03:25 PM

dear i send teamviewer after install
please dear help me

jkirchner 10-22-2014 03:26 PM

Quote:

Originally Posted by zeeshanayub (Post 5257902)
dear i send teamviewer after install
please dear help me

Please stay in one thread and read what they say and respond as they say. You have 8 threads open and you are not helping yourself this way

rokytnji 10-22-2014 04:05 PM

Quote:

dear i send teamviewer after install
please dear help me
Sorry Bro. Dear or not. I am outa here. Life is too short.
Hope you have a LUG where you are at.

suicidaleggroll 10-22-2014 04:10 PM

Quote:

Originally Posted by zeeshanayub (Post 5257900)
sudo dpkg --configure -a
i run command
but not show any answer

Good

Now what is the output of "sudo apt-get update"
Please copy and paste the command and ALL of the output.

knudfl 10-23-2014 02:55 AM

← #49 .

As the other 4? threads from yesterday are indicating,
@zeeshanayub is using a `sources.list' with dead <url>'s.
See post #1 : http://pk.archive.ubuntu.com/


All times are GMT -5. The time now is 07:31 AM.