انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید

نویسنده موضوع: مشکل نصب -آپدیت  (دفعات بازدید: 866 بار)

0 کاربر و 3 مهمان درحال مشاهده موضوع.

آفلاین NewBot

  • Jr. Member
  • *
  • ارسال: 59
  • جنسیت : پسر
  • Ubuntu 16.04
    • آپلود
مشکل نصب -آپدیت
« : 11 امرداد 1395، 04:10 ب‌ظ »
سلام خسته نباشید
وقتی میخوام آپاچی نصب کنم خطا میده:‌
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
ممنون میشم راهنمایی کنید این مشکلاتو برطرف کنم کلا درگیرم  با اینا خیلی گیج شدم

آفلاین NewBot

  • Jr. Member
  • *
  • ارسال: 59
  • جنسیت : پسر
  • Ubuntu 16.04
    • آپلود
پاسخ : مشکل نصب -آپدیت
« پاسخ #1 : 11 امرداد 1395، 05:37 ب‌ظ »
راستی یه مورد مهم من الان اوبونتو 16.04 دارم موقع نصب کردن طبق معمول gparted بود بعد از نصب دیگه نبود و الانم نیست و نصب هم نمیشه خطا میده
یعنی الان من کلا gparted ندارم
sudo apt install gparted
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:
 gparted : Depends: libatkmm-1.6-1 (>= 2.22.1) but it is not going to be installed
           Depends: libglibmm-2.4-1c2a (>= 2.32.0) but it is not going to be installed
           Depends: libgtkmm-2.4-1c2a (>= 1:2.24.0) but it is not going to be installed
           Depends: libpangomm-1.4-1 (>= 2.27.1) but it is not going to be installed
           Depends: libsigc++-2.0-0c2a (>= 2.0.2) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

آفلاین NewBot

  • Jr. Member
  • *
  • ارسال: 59
  • جنسیت : پسر
  • Ubuntu 16.04
    • آپلود
پاسخ : مشکل نصب -آپدیت
« پاسخ #2 : 12 امرداد 1395، 12:24 ق‌ظ »
......................
« آخرین ویرایش: 12 امرداد 1395، 11:15 ب‌ظ توسط NewBot »

آفلاین سلمان م.

  • ناظر انجمن
  • *
  • ارسال: 4106
  • جنسیت : پسر
  • GNU Operating System - سیستم عامل گنو
پاسخ : مشکل نصب -آپدیت
« پاسخ #3 : 12 امرداد 1395، 01:31 ب‌ظ »
شما اگه اوبونتو ۱۶.۰۴ داری پس چرا توی source list نوشته precise ؟؟ (این مربوط به اوبونتو ۱۲.۰۴ هست). از اینترنت همین‌جوری گرفتی کپی پیست کردی؟

سوال بعدی، چرا اصلا SourceList رو دستکاری کردی؟

آفلاین NewBot

  • Jr. Member
  • *
  • ارسال: 59
  • جنسیت : پسر
  • Ubuntu 16.04
    • آپلود
پاسخ : مشکل نصب -آپدیت
« پاسخ #4 : 12 امرداد 1395، 09:00 ب‌ظ »
سلام
ممنون از پاسختون ولی اون سورسی که کپی کردم اونجا اول همون بود
بعدا همینجا یکی این مشکلو داشت که سورس دادن منم دستکاری کردم ولی سورس اولی که داشتم همونه که اینجا گذاشتم فکر کنم :'(
فعلا یه مقدار مشکل حل شده و تونستم چنتا نرم افزار نصب کنم ولی امروز دوباره خطا میده

آفلاین NewBot

  • Jr. Member
  • *
  • ارسال: 59
  • جنسیت : پسر
  • Ubuntu 16.04
    • آپلود
پاسخ : مشکل نصب -آپدیت
« پاسخ #5 : 12 امرداد 1395، 09:18 ب‌ظ »
شما اگه اوبونتو ۱۶.۰۴ داری پس چرا توی source list نوشته precise ؟؟ (این مربوط به اوبونتو ۱۲.۰۴ هست). از اینترنت همین‌جوری گرفتی کپی پیست کردی؟

سوال بعدی، چرا اصلا SourceList رو دستکاری کردی؟

چطوری میتونم سورس رو برگردونم؟ بجا پیدا کردم برای سایخت سورس ولی خیلی پیچیدست
https://repogen.simplylinux.ch/

مثلا اینو ساختم بنظر درسته ؟ کلی گزینه برای انتخاب داره همرو تیک زدم

#------------------------------------------------------------------------------#
#                            OFFICIAL UBUNTU REPOS                             #
#------------------------------------------------------------------------------#


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

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

« آخرین ویرایش: 12 امرداد 1395، 09:26 ب‌ظ توسط NewBot »

آفلاین سلمان م.

  • ناظر انجمن
  • *
  • ارسال: 4106
  • جنسیت : پسر
  • GNU Operating System - سیستم عامل گنو
پاسخ : مشکل نصب -آپدیت
« پاسخ #6 : 12 امرداد 1395، 11:02 ب‌ظ »
این مال اوبونتو ۱۶.۰۴ هست و روی آینه‌ی (mirror) سوییس هست.

https://paste.ubuntu.ir/cufo