پاسخ : مشکل نصب -آپدیت

ساخت وبلاگ
سلام خسته نباشید
وقتی میخوام آپاچی نصب کنم خطا میده:‌
sudo apt 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.11) but it is not going to be installed or
                    apache2-mpm-prefork (= 2.2.22-1ubuntu1.11) but it is not going to be installed or
                    apache2-mpm-event (= 2.2.22-1ubuntu1.11) but it is not going to be installed or
                    apache2-mpm-itk (= 2.2.22-1ubuntu1.11) but it is not going to be installed
           Depends: apache2.2-common (= 2.2.22-1ubuntu1.11) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

اینم وقتی آپدیت میکنم
sudo apt update
Ign:1 http://archive.canonical.com/ubuntu precise InRelease
Ign:2 http://extras.ubuntu.com/ubuntu precise InRelease
Ign:3 http://us.archive.ubuntu.com/ubuntu precise InRelease
Hit:4 http://archive.canonical.com/ubuntu precise Release
Hit:5 http://extras.ubuntu.com/ubuntu precise Release                   
Hit:7 http://us.archive.ubuntu.com/ubuntu precise-security InRelease     
Get:8 http://extras.ubuntu.com/ubuntu precise Release.gpg [72 B]         
Ign:8 http://extras.ubuntu.com/ubuntu precise Release.gpg
Hit:9 http://us.archive.ubuntu.com/ubuntu precise-updates InRelease
Hit:10 http://us.archive.ubuntu.com/ubuntu precise-backports InRelease
Hit:11 http://us.archive.ubuntu.com/ubuntu precise Release
Reading package lists... Done
W: http://archive.canonical.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-security/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: GPG error: http://extras.ubuntu.com/ubuntu precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 16126D3A3E5C1192
E: The repository 'http://extras.ubuntu.com/ubuntu precise Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)
W: http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg: Signature by key 630239CC130E1A7FD81A27B140976EAF437D05B5 uses weak digest algorithm (SHA1)

اینم چیزی که شاید خواستید بدونید
cat /etc/apt/sources.list
#############################################################
################### OFFICIAL UBUNTU REPOS ###################
#############################################################

###### Ubuntu Main Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse

###### Ubuntu Update Repos
deb http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

###### Ubuntu Partner Repo
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner

###### Ubuntu Extras Repo
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main


اوبونتو 16.04
ممنون میشم راهنمایی کنید این مشکلاتو برطرف کنم کلا درگیرم  با اینا خیلی گیج شدم

اوبونتو...
ما را در سایت اوبونتو دنبال می کنید

برچسب : نویسنده : استخدام کار ubuntu بازدید : 138 تاريخ : سه شنبه 12 مرداد 1395 ساعت: 16:18