انجمنهای فارسی اوبونتو
کمک و پشتیبانی => انجمن عمومی => نویسنده: netsaba در 18 بهمن 1387، 09:51 بظ
-
به نام خدا
سلام
برای آپدیت یه نرم افزار باید از چه دستوری استفاده کرد. مثلا wine من وقتی می نویسم apt-get upgrade wine می خواد کل بسته های اوبونتو رو آپدیت کنه؟
-
به System->Administration-> Update Manager یا Alt+F2 را زده و تایپ کنید: update-manager.
سپس بر روی Check کلیک کنید تا لیست آخرین بستهها دریافت شود. اینکار مانند زدن دستور sudo apt-get update است. اصلا update-manager یک رابط گرافیکی کاربرپسندتر برای این کار است.
پس از اتمام بروزرسانی فهرست بستهها، بستههایی که نسخهی جدیدتر آنها موجود است، نمایش داده میشوند و شما میتوانید همه را بروزرسانی کنید یا فقط بستهی مورد نظر را انتخاب و سپس با کلیک بر روی Install Updates، اقدام به بروز رسانی همان بستهخاص کنید.
فهرست نمایش داده شده، وابسته به لیست مخازن شما موجود در System->Administration-> Software Sources است.
-
به نام خدا
سلام
من این کار رو کردم
به System->Administration-> Update Manager یا Alt+F2 را زده و تایپ کنید: update-manager.
سپس بر روی Check کلیک کنید تا لیست آخرین بستهها دریافت شود.
درست بعد از اینکه لیست بسته ها رو که 110 عدد بود از اینترنت گرفتم یک ارور با این موضوع به من داد:
An error occured
W: GPG error: http://apt.wicd.net hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FEC820F4B8C0755A
W: GPG error: http://wine.budgetdedicated.com feisty Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 58403026387EE263
و در پنجره Update Manager هیچ بسته ی جدید به غیر از 13 عددی که قبلا بود اضافه نشد حتی دنبال wine هم توی اون 13 تا گشتم پیدا نکردم.
-
مشکل از مخازن هست. شما از اوبونتو fiesty استفاده میکنید؟؟!
نسخهی اوبونتو رو بگید تا مخازن wine رو بهتون بدم.
-
مشکل شما اینجاست (http://forum.ubuntu.ir/index.php/topic,8568.0.html) با این مطلب حتما حل میشه.
-
به نام خدا
سلام
اوبونتو 8.4 دسکتاپ
Linux mahdi-desktop 2.6.24-19-generic #1 SMP Wed Jun 18 14:43:41 UTC 2008 i686 GNU/Linux
البته این سایت هم باز نمی شود https://launchpad.net
-
این دستور رو تو ترمینال بزنید:
sudo gedit /etc/apt/sources.list
بعد در فایلی که باز می شه، اینو وارد کنید:
deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
فایل رو ذخیره کنید و ببندید.
بعد این فایل رو دانلود کنید:
http://wine.budgetdedicated.com/apt/Scott%20Ritchie.gpg (http://wine.budgetdedicated.com/apt/Scott%20Ritchie.gpg)
به این مسیر برید:
System->Administration->Software Sources
به سربرگ Authentication بروید و روی Import Key File... کلیک کنید و فایلی رو که دریافت کرده اید رو انتخاب کنید.
حالا بزنید:
sudo apt-get update
-
به نام خدا
سلام
بعد اون کارهایی که گفتید موقع آپدیت apt این ارور رو میده:
mahdi@mahdi-desktop:~/Desktop$ sudo apt-get update
Ign cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701) hardy/main Translation-en_US
Ign cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701) hardy/restricted Translation-en_US
Get:1 http://wine.budgetdedicated.com feisty Release.gpg [191B]
Ign http://wine.budgetdedicated.com feisty/main Translation-en_US
Get:2 http://wine.budgetdedicated.com hardy Release.gpg [191B]
Hit http://security.ubuntu.com hardy-security Release.gpg
Ign http://security.ubuntu.com hardy-security/main Translation-en_US
Hit http://archive.canonical.com hardy Release.gpg
Ign http://archive.canonical.com hardy/partner Translation-en_US
Hit http://us.archive.ubuntu.com hardy Release.gpg
Ign http://us.archive.ubuntu.com hardy/main Translation-en_US
Hit http://archive.ubuntu.com hardy Release.gpg
Ign http://archive.ubuntu.com hardy/main Translation-en_US
Ign http://wine.budgetdedicated.com hardy/main Translation-en_US
Ign http://security.ubuntu.com hardy-security/restricted Translation-en_US
Ign http://security.ubuntu.com hardy-security/universe Translation-en_US
Ign http://security.ubuntu.com hardy-security/multiverse Translation-en_US
Hit http://security.ubuntu.com hardy-security Release
Get:3 http://wine.budgetdedicated.com feisty Release [1007B]
Hit http://archive.canonical.com hardy Release
Ign http://us.archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com hardy-updates Release.gpg
Ign http://us.archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://us.archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Hit http://us.archive.ubuntu.com hardy Release
Get:4 http://apt.wicd.net hardy Release.gpg [197B]
Ign http://archive.ubuntu.com hardy/restricted Translation-en_US
Ign http://archive.ubuntu.com hardy/universe Translation-en_US
Ign http://archive.ubuntu.com hardy/multiverse Translation-en_US
Hit http://archive.ubuntu.com hardy-updates Release.gpg
Ign http://archive.ubuntu.com hardy-updates/main Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/universe Translation-en_US
Ign http://archive.ubuntu.com hardy-updates/multiverse Translation-en_US
Hit http://archive.ubuntu.com hardy-backports Release.gpg
Ign http://apt.wicd.net hardy/extras Translation-en_US
Get:5 http://wine.budgetdedicated.com hardy Release [1016B]
Ign http://archive.ubuntu.com hardy-backports/main Translation-en_US
Hit http://security.ubuntu.com hardy-security/main Packages
Hit http://archive.canonical.com hardy/partner Packages
Hit http://us.archive.ubuntu.com hardy-updates Release
Ign http://archive.ubuntu.com hardy-backports/restricted Translation-en_US
Ign http://archive.ubuntu.com hardy-backports/universe Translation-en_US
Ign http://archive.ubuntu.com hardy-backports/multiverse Translation-en_US
Hit http://archive.ubuntu.com hardy-proposed Release.gpg
Ign http://wine.budgetdedicated.com feisty/main Packages
Get:6 http://apt.wicd.net hardy Release [17.2kB]
Ign http://apt.wicd.net hardy Release
Hit http://security.ubuntu.com hardy-security/restricted Packages
Hit http://security.ubuntu.com hardy-security/main Sources
Hit http://security.ubuntu.com hardy-security/restricted Sources
Hit http://security.ubuntu.com hardy-security/universe Packages
Ign http://archive.ubuntu.com hardy-proposed/main Translation-en_US
Ign http://archive.ubuntu.com hardy-proposed/restricted Translation-en_US
Ign http://archive.ubuntu.com hardy-proposed/universe Translation-en_US
Ign http://archive.ubuntu.com hardy-proposed/multiverse Translation-en_US
Hit http://archive.ubuntu.com hardy Release
Hit http://archive.ubuntu.com hardy-updates Release
Hit http://us.archive.ubuntu.com hardy/main Packages
Hit http://us.archive.ubuntu.com hardy/restricted Packages
Hit http://us.archive.ubuntu.com hardy/main Sources
Hit http://us.archive.ubuntu.com hardy/restricted Sources
Hit http://us.archive.ubuntu.com hardy/universe Packages
Ign http://wine.budgetdedicated.com hardy/main Packages
Hit http://archive.ubuntu.com hardy-backports Release
Hit http://security.ubuntu.com hardy-security/universe Sources
Hit http://security.ubuntu.com hardy-security/multiverse Packages
Hit http://security.ubuntu.com hardy-security/multiverse Sources
Ign http://apt.wicd.net hardy/extras Packages
Hit http://us.archive.ubuntu.com hardy/universe Sources
Hit http://us.archive.ubuntu.com hardy/multiverse Packages
Hit http://us.archive.ubuntu.com hardy/multiverse Sources
Hit http://wine.budgetdedicated.com feisty/main Packages
Hit http://us.archive.ubuntu.com hardy-updates/main Packages
Hit http://us.archive.ubuntu.com hardy-updates/restricted Packages
Hit http://us.archive.ubuntu.com hardy-updates/main Sources
Hit http://us.archive.ubuntu.com hardy-updates/restricted Sources
Hit http://us.archive.ubuntu.com hardy-updates/universe Packages
Hit http://archive.ubuntu.com hardy-proposed Release
Get:7 http://wine.budgetdedicated.com hardy/main Packages [1251B]
Hit http://archive.ubuntu.com hardy/main Packages
Hit http://archive.ubuntu.com hardy/restricted Packages
Hit http://archive.ubuntu.com hardy/universe Packages
Hit http://archive.ubuntu.com hardy/multiverse Packages
Hit http://archive.ubuntu.com hardy-updates/main Packages
Hit http://archive.ubuntu.com hardy-updates/restricted Packages
Hit http://archive.ubuntu.com hardy-updates/universe Packages
Hit http://apt.wicd.net hardy/extras Packages
Hit http://archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://archive.ubuntu.com hardy-backports/main Packages
Hit http://archive.ubuntu.com hardy-backports/restricted Packages
Hit http://archive.ubuntu.com hardy-backports/universe Packages
Hit http://archive.ubuntu.com hardy-backports/multiverse Packages
Hit http://archive.ubuntu.com hardy-proposed/main Packages
Hit http://archive.ubuntu.com hardy-proposed/restricted Packages
Hit http://archive.ubuntu.com hardy-proposed/universe Packages
Hit http://archive.ubuntu.com hardy-proposed/multiverse Packages
Hit http://us.archive.ubuntu.com hardy-updates/universe Sources
Hit http://us.archive.ubuntu.com hardy-updates/multiverse Packages
Hit http://us.archive.ubuntu.com hardy-updates/multiverse Sources
Fetched 2848B in 6s (471B/s)
Reading package lists... Done
W: GPG error: http://apt.wicd.net hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FEC820F4B8C0755A
W: Duplicate sources.list entry cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701) hardy/main Packages (/var/lib/apt/lists/Ubuntu%208.04.1%20%5fHardy%20Heron%5f%20-%20Release%20i386%20(20080701)_dists_hardy_main_binary-i386_Packages)
W: Duplicate sources.list entry cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701) hardy/restricted Packages (/var/lib/apt/lists/Ubuntu%208.04.1%20%5fHardy%20Heron%5f%20-%20Release%20i386%20(20080701)_dists_hardy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/multiverse Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_multiverse_binary-i386_Packages)
W: You may want to run apt-get update to correct these problems
و این هم فایل مخازن است:
# deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080702.1)]/ hardy main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701)]/ hardy main restricted
deb http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy main restricted
## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates main restricted
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy universe
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-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://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy multiverse
deb http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-updates multiverse
## Uncomment the following two lines to add software from the 'backports'
## repository.
## 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://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe 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 hardy partner
# deb-src http://archive.canonical.com/ubuntu hardy partner
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
deb http://security.ubuntu.com/ubuntu hardy-security universe
deb-src http://security.ubuntu.com/ubuntu hardy-security universe
deb http://security.ubuntu.com/ubuntu hardy-security multiverse
deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
### End Versian WINE
deb http://wine.budgetdedicated.com/apt feisty main
############################################
#### Ubuntu Official Supported Packages ####
############################################
#### Main ####
deb http://archive.ubuntu.com/ubuntu/ hardy main restricted
#### Updates ####
deb http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
#### Security Updates ####
deb http://security.ubuntu.com/ubuntu hardy-security main restricted
#### Sources ####
# deb-src http://archive.ubuntu.com/ubuntu/ hardy main restricted
# deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates main restricted
# deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
#######################################################
##### Ubuntu Official Community Supported Packages ####
#######################################################
#### Universe/Multiverse - Main ####
deb http://archive.ubuntu.com/ubuntu/ hardy universe multiverse
##### Universe/Multiverse - Updates #####
deb http://archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse
##### Backports Project ####
deb http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
##### Universe/Multiverse - Security Updates ####
deb http://security.ubuntu.com/ubuntu hardy-security universe multiverse
#### Ubuntu Proposed packages ####
deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
#### Canonical Commercial ####
##(Hosted on Canonical servers, not Ubuntu servers. RealPlayer10, Opera and more to come.)
deb http://archive.canonical.com/ubuntu hardy partner
#### Sources ####
# deb-src http://archive.ubuntu.com/ubuntu/ hardy universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ hardy-updates universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse
# deb-src http://security.ubuntu.com/ubuntu hardy-security universe multiverse
# deb-src http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverse
# deb-src http://archive.canonical.com/ubuntu hardy partner
######################################
#### Unofficial/Unsupported Repos ####
######################################
#### The Repository of Ubuntu Iran
## wget -q http://archive.ubuntu.ir/ubuntu/ubuntu-ir-archive-key.gpg -O- | sudo apt-key add -
# deb http://archive.ubuntu.ir/ubuntu/ hardy main non-free
# deb-src http://archive.ubuntu.ir/ubuntu/ hardy main non-free
#### Medibuntu - Ubuntu 8.04
## wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -
## Please report any bug on https://bugs.launchpad.net/medibuntu/
# deb http://packages.medibuntu.org/ hardy free non-free
# deb-src http://packages.medibuntu.org/ hardy free non-free
#### Bleeding edge "wine" packages
## GPG Key: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add -
# deb http://wine.budgetdedicated.com/apt hardy main
# deb-src http://wine.budgetdedicated.com/apt hardy main
#### Elbuntu - e17 desktop for ubuntu
## GPG key-file: http://lut1n.ifrance.com/repo_key.asc
# deb http://e17.dunnewind.net/ubuntu hardy elbuntu
#### Exaile - flexible audio player, similar to Amarok, but written in GTK+
# deb http://ppa.launchpad.net/exaile-devel/ubuntu hardy main
## Swiftfox Browser
# deb http://getswiftfox.com/builds/debian unstable non-free
deb http://apt.wicd.net hardy extras
deb cdrom:[Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701)]/ hardy main restricted
deb http://wine.budgetdedicated.com/apt hardy main #WineHQ - Ubuntu 8.04 "Hardy Heron"
-
W: GPG error: http://apt.wicd.net hardy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY FEC820F4B8C0755A
برای رفع این error، باید کلید این مخزن رو پیدا کنید و اضافه اش کنید.
W: Duplicate sources.list entry cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701) hardy/main Packages (/var/lib/apt/lists/Ubuntu%208.04.1%20%5fHardy%20Heron%5f%20-%20Release%20i386%20(20080701)_dists_hardy_main_binary-i386_Packages)
W: Duplicate sources.list entry cdrom://Ubuntu 8.04.1 _Hardy Heron_ - Release i386 (20080701) hardy/restricted Packages (/var/lib/apt/lists/Ubuntu%208.04.1%20%5fHardy%20Heron%5f%20-%20Release%20i386%20(20080701)_dists_hardy_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/main Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_main_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/restricted Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_restricted_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/universe Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_universe_binary-i386_Packages)
W: Duplicate sources.list entry http://security.ubuntu.com hardy-security/multiverse Packages (/var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_hardy-security_multiverse_binary-i386_Packages)
این error ها هم می گن که این ها در فایل مخازن دوباره تکرار شده اند. پس خط مربوط به اون ها رو حذف کنید.
-
حالا دیگه نباید مشکلی داشته باشید برا ی بروزرسانی wine، حتی با این خطاها. روشی رو که قبلا گفتم دوباره تکرار کنید.
-
به نام خدا
سلام
آقا مشکل ما حل شد خدا را شکر فقط چنتا سوال دارم:
1- اصلا ما چکار کردیم یعنی این اروری که به من می داد برای چی بود اون کلید هایی مخازن رو که گرفتیم و add کردیم در Software Sources برای چه بود و به چه کاری می اومد.
2- چرا برای بعضی از آدرس های مخازن ارور می داد در حالی که قبلا مشکلی با اونها نداشتیم و آیا وقتی مخزنی hit شد اونو باید # کرد.
3- الان دیگه این کار رو بدون ارور انجام میده
ه System->Administration-> Update Manager یا Alt+F2 را زده و تایپ کنید: update-manager.
سپس بر روی Check کلیک کنید تا لیست آخرین بستهها دریافت شود. اینکار مانند زدن دستور sudo apt-get update است. اصلا update-manager یک رابط گرافیکی کاربرپسندتر برای این کار است.
پس از اتمام بروزرسانی فهرست بستهها، بستههایی که نسخهی جدیدتر آنها موجود است، نمایش داده میشوند و شما میتوانید همه را بروزرسانی کنید یا فقط بستهی مورد نظر را انتخاب و سپس با کلیک بر روی Install Updates، اقدام به بروز رسانی همان بستهخاص کنید.
فهرست نمایش داده شده، وابسته به لیست مخازن شما موجود در System->Administration-> Software Sources است.
ولی داخل لیست wine نیست.
4- در واقع من واضح تر بگم من برای اینکه این کار رو بکنم دارم دنبال آپدیت wine می گردم اینجا رو بخونید:
http://forum.ubuntu.ir/index.php/topic,8683.0.html