• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Linux Errors apt-get

chiitus

Member
Joined
Jun 1, 2009
Messages
206
Reaction score
12
Hi guys, i'm try to put my server online on my server, but it's impossible because i can't install any package, like:

Code:
root@ubuntu:~# apt-get update
Get:1 http://security.ubuntu.com precise-security Release.gpg [198 B]
Get:2 http://security.ubuntu.com precise-security Release [50.7 kB]
Get:3 http://security.ubuntu.com precise-security/main Sources [110 kB]
Get:4 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
Get:5 http://security.ubuntu.com precise-security/universe Sources [32.7 kB]
Get:6 http://security.ubuntu.com precise-security/multiverse Sources [1,786 B]
Get:7 http://security.ubuntu.com precise-security/main amd64 Packages [421 kB]
Get:8 http://security.ubuntu.com precise-security/restricted amd64 Packages [4,627 B]
Get:9 http://security.ubuntu.com precise-security/universe amd64 Packages [97.4 kB]
Get:10 http://security.ubuntu.com precise-security/multiverse amd64 Packages [2,451 B]
Get:11 http://security.ubuntu.com precise-security/main i386 Packages [450 kB]
Get:12 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
Get:13 http://security.ubuntu.com precise-security/universe i386 Packages [103 kB]
Get:14 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,644 B]
Get:15 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
Get:16 http://security.ubuntu.com precise-security/multiverse TranslationIndex [72 B]
Get:17 http://security.ubuntu.com precise-security/restricted TranslationIndex [72 B]
Get:18 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Get:19 http://security.ubuntu.com precise-security/main Translation-en [192 kB]
Hit http://security.ubuntu.com precise-security/multiverse Translation-en
Hit http://security.ubuntu.com precise-security/restricted Translation-en
Hit http://security.ubuntu.com precise-security/universe Translation-en
Err http://br.archive.ubuntu.com precise Release.gpg
Temporary failure resolving 'br.archive.ubuntu.com'
Err http://br.archive.ubuntu.com precise-updates Release.gpg
Temporary failure resolving 'br.archive.ubuntu.com'
Err http://br.archive.ubuntu.com precise-backports Release.gpg
Temporary failure resolving 'br.archive.ubuntu.com'
Fetched 1,476 kB in 55s (26.7 kB/s)
Reading package lists... Done
W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary failure resolving 'br.archive.ubuntu.com'

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg Temporary failure resolving 'br.archive.ubuntu.com'

W: Failed to fetch http://br.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg Temporary failure resolving 'br.archive.ubuntu.com'

W: Some index files failed to download. They have been ignored, or old ones used instead.

Code:
root@ubuntu:~# apt-get install apache2
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:
apache2 : Depends: apache2-mpm-worker (= 2.2.22-1ubuntu1.7) but it is not going to be installed or
apache2-mpm-prefork (= 2.2.22-1ubuntu1.7) but it is not going to be installed or
apache2-mpm-event (= 2.2.22-1ubuntu1.7) but it is not going to be installed or
apache2-mpm-itk (= 2.2.22-1ubuntu1.7) but it is not going to be installed
Depends: apache2.2-common (= 2.2.22-1ubuntu1.7) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Code:
root@ubuntu:~# apt-get install resolvconf
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package resolvconf is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'resolvconf' has no installation candidate

A lot of erros appears!!
Please i need help!
Thx adv.
 
Last edited:
1. Use Debian 7
2. Check your repo list and make sure that you have the main ones added/enabled
3. Tell us what version of ubuntu you are using
4. Switch mirrors
5. Use [ CODE ] tags or your post will be deleted
6. Use debian 7
 
1. not a option

2. My sources.list:
Code:
# 

# deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ dists/precise/main/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ precise main restricted

#deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ dists/precise/main/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ dists/precise/restricted/binary-i386/
#deb cdrom:[Ubuntu-Server 12.04.4 LTS _Precise Pangolin_ - Release amd64 (20140204)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ precise main restricted

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

deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-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 precise partner
# deb-src http://archive.canonical.com/ubuntu precise partner

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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 precise main
# deb-src http://extras.ubuntu.com/ubuntu precise main

3. Ubuntu Server 12.04.4 LTS

4. How?

5. Ok!

6. not a option
 
Because the company don't give me this permission :/
I'm tried with your source.list, but i do change to amd64, and working perfect now!
Really thanks!

Just one more question, i installed some packages and now the memory consume ~200M and was 20M before, something i can do to fix it?
Thx!
 
Because the company don't give me this permission :/
I'm tried with your source.list, but i do change to amd64, and working perfect now!
Really thanks!

Just one more question, i installed some packages and now the memory consume ~200M and was 20M before, something i can do to fix it?
Thx!

You could check top/htop to see what process are using memory. Also note that since you installed new services this was bound to happen. Everything uses RAM when executing.
 
Back
Top