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 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


All times are GMT -5. The time now is 06:35 AM.