انجمنهای فارسی اوبونتو
کمک و پشتیبانی => نصب، راهاندازی و بروزآوری => نویسنده: jamgh در 02 خرداد 1404، 06:34 بظ
-
سلام من موق بروز رسانی با مشکل مواجه هستم
بیخیال
بزنید
sudo apt edit-sources
بعد ویرایشگری که کار باهاشو بلدید انتخاب کنید، در url ها اون ir اولشو به us تبدیل کنید. بعد پرونده رو ذخیره کنید. بعد بزنید
sudo apt update
sudo apt upgrade
سلام
ظاهرا هر سال من این موقع با بروزرسانی کوبونتو مشکل دارم
پارسال با دستوری که شما ارسال کردید مشکل برطرف شد ولی الان این خطا رو می ده
Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
-
خروجی هایی که خواستم رو هم بذارید.
-
(base) j@j-Inspiron-1564:~$ ls /etc/apt/sources.list.d
third-party.sources ubuntu.sources yannubuntu-ubuntu-boot-repair-noble.sources
(base) j@j-Inspiron-1564:~$ ls /etc/apt
apt.conf.d auth.conf.d keyrings preferences.d sources.list sources.list.d sources.list.distUpgrade sources.list.save trusted.gpg.d
(base) j@j-Inspiron-1564:~$ cat /etc/apt/sources.list.d/*
Enabled: no
Types: deb
URIs: cdrom:[Kubuntu 22.04 LTS _Jammy Jellyfish_ - Release amd64 (20220419)]/
Suites: jammy
Components: main restricted universe multiverse
Types: deb
URIs: http://ir.ubuntu.sindad.cloud/ubuntu/
Suites: noble noble-updates noble-security noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb-src
URIs: http://ir.ubuntu.sindad.cloud/ubuntu/
Suites: noble-updates
Components: universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb-src
URIs: http://ir.ubuntu.sindad.cloud/ubuntu/
Suites: noble
Components: multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb-src
URIs: http://ir.ubuntu.sindad.cloud/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb
URIs: https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu/
Suites: noble
Components: main
Signed-By:
-----BEGIN PGP PUBLIC KEY BLOCK-----
.
mQINBGYzoxcBEACurKKBm4hHDCALugw/YoZFfKRsFIKsK7u1kUWzAeA7RbJZbOro
/bW6hjVZLCTCBMKT3LxTgcO04TcAiIcyJ9aavDLVbv8RtcyiCXVfB4qB8g5deZdE
CRt0jJR6w8axzQVroqbmmkpr6Wxh3W/cDMw8YpXIWp6gj9YrvPdS+HGm2BZnatqU
Or8sMeZ2CxRCGJ0jfTKcCfP9kuvxwxa6QZCqyi/fC2lpOKGVsHciJvvgAiKlzAN0
7SHOtlsGr5BbL2nfNCjHbv99kfVV2XWgLaMpdB8nF5aBdhhLDCCUzPvN4gTQXNn2
O/g+RrOmgrOsmHdzLazSK5c3aGb5LHFfDObKouQ6WjW6t+sfvtJg2UmrqOrb50r2
DvZpmzR2BSAGVxKXNhSb0q0e4y93vBkPuTc8KgeEOkvrqaO1D+Vqy5stKTaO2XfC
Had4JDCXuVFrKHDXp7rPB/X75JfFLU+xm93+dJR/n1+fo2cTSxi6NvMUquO8Kegt
AxoH7E3duK3Pxau5QRIl4ahcxNMEgXRKrcqPsBiHpEqVKc0gHDKkQAEQHSGLmNl8
hrLWBa3mClwpzac68JlT1J2D7ODX23pPr1uzxR5jZrhKHtHev1od1rPh2BtaXBKx
aQYKujJz0oAPGOX7OyIBbhTz7iGyjXi/htZ8TwoXLbYXOMqERIh6G0BhfQARAQAB
tBxMYXVuY2hwYWQgUFBBIGZvciBZYW5uVWJ1bnR1iQJOBBMBCgA4FiEEMIkBzDrR
Wzq2TMDvPmhzZNLt218FAmYzoxcCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA
CgkQPmhzZNLt21+chw/6AlexTCjc0F/Acjij8alawj+A3kOtZbvYTbFbMvM6aOEj
tAvO7wo7fzPLjCfuKzv79+oP62Wb2iTjI1tkgwsHygntU3sYc+EE9MhQNLG4HQjA
fBqDXcKLUe6nMoRw7etOiIMvcL2PJ9m3aDu1u7xRgdIS+SM+NABpY3THPNyF0Opk
eC5PDAo1sSc0mJza/+yemHncb3eHUZZmyix7pn26q9mTSoHgcAKxTqL8SdjtzhKu
xNHufbqpF45tcRMRkaViat3t5/sLI0R1nr1s4816iYrUP2vLmtiWMjoVi+OvUWZX
r8AZkvL22PdkF8ltQ8u9YTpvPDu0p2wQJYnlMWOPNNWZ0AKM2vbeuGlqwvAmMQcb
7UaK0tnN/oX45mAlpQBM1MJys+Q/hCPUsD+0LOszpRqx5gbTZb/SdThAdxtq/+Lj
Ojhn/SKCn0JUUMLNrPo5iRAzWui3BO3MnMCqW9mGMKHGBOXlSIHBlAFmhlEtUTgK
bKYtQAjnEvBE0OEW9S+Lm5IuioqqrU7WpSrwdZvFluCzax1ZVSH47sEZguRXuatD
mmKLeLe3oH89XjMaFQ9LP+2ZmPD+zgosoZBRl610mKqO7FQz+KannfzXUgcxzF0l
rS5isrksbA2h1IAWFETecbW55/UXZvmPlNwvs2AvOv47cDZC5IvoTKd+uoU/zRg=
=ilP+
-----END PGP PUBLIC KEY BLOCK-----
(base) j@j-Inspiron-1564:~$ cat /etc/apt/sources.list
# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources
(base) j@j-Inspiron-1564:~$ sudo apt update
[sudo] password for j:
Err:1 http://ir.ubuntu.sindad.cloud/ubuntu noble InRelease
403 Forbidden [IP: 185.236.37.166 80]
Err:2 http://ir.ubuntu.sindad.cloud/ubuntu noble-updates InRelease
403 Forbidden [IP: 185.236.37.166 80]
Err:3 http://ir.ubuntu.sindad.cloud/ubuntu noble-security InRelease
403 Forbidden [IP: 185.236.37.166 80]
Err:4 http://ir.ubuntu.sindad.cloud/ubuntu noble-backports InRelease
403 Forbidden [IP: 185.236.37.166 80]
Hit:5 https://ppa.launchpadcontent.net/yannubuntu/boot-repair/ubuntu noble InRelease
Reading package lists... Done
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://ir.ubuntu.sindad.cloud/ubuntu noble InRelease' is no longer signed.
E: Failed to fetch http://ir.ubuntu.sindad.cloud/ubuntu/dists/noble/InRelease 403 Forbidden [IP: 185.236.37.166 80]
N: See apt-secure(8) manpage for repository creation and user configuration details.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
E: The repository 'http://ir.ubuntu.sindad.cloud/ubuntu noble-updates InRelease' is no longer signed.
E: Failed to fetch http://ir.ubuntu.sindad.cloud/ubuntu/dists/noble-updates/InRelease 403 Forbidden [IP: 185.236.37.166 80]
E: Failed to fetch http://ir.ubuntu.sindad.cloud/ubuntu/dists/noble-security/InRelease 403 Forbidden [IP: 185.236.37.166 80]
E: The repository 'http://ir.ubuntu.sindad.cloud/ubuntu noble-security InRelease' is no longer 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.
E: Failed to fetch http://ir.ubuntu.sindad.cloud/ubuntu/dists/noble-backports/InRelease 403 Forbidden [IP: 185.236.37.166 80]
E: The repository 'http://ir.ubuntu.sindad.cloud/ubuntu noble-backports InRelease' is no longer 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.
-
دستور زیر را بزنید
sudo apt edit-sources ubuntu.sources
بعد با هر ویرایشگری که میخواید اونو باز کنید. با ویرایشگری برید که بلد باشید باهاش پرونده رو ذخیره کنید و بلد باشید که ازش خارج شید.
تمام خطوطو حذف کنید و بعد متن زیر را رونوشت و با ترکیب مهار(ctrl) + تبدیل(shift) + v (حرف وی انگلیسی) متن رو جاگذاری کنید.
بعد پرونده رو ذخیره کنید و پرونده رو ببندید. حتما باید ذخیره بشه!!!
# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: https://repo.iut.ac.ir/ubuntu/
Suites: noble
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
# Modernized from /etc/apt/sources.list
Types: deb
URIs: https://repo.iut.ac.ir/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: https://repo.iut.ac.ir/ubuntu/
Suites: noble-updates
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
# Modernized from /etc/apt/sources.list
Types: deb deb-src
URIs: https://repo.iut.ac.ir/ubuntu/
Suites: noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
بعد خروجی زیر را بذارید:
sudo apt update
-
(base) j@j-Inspiron-1564:~$ sudo apt edit-sources ubuntu.sources
[sudo] password for j:
E: Type 'Types:' is not known on line 2 in source list /etc/apt/sources.list.d/ubuntu.sources.list
E: The list of sources could not be read.
Failed to parse /etc/apt/sources.list.d/ubuntu.sources.list. Edit again? [Y/n]
-
دستور زیر را بزنید
sudo apt edit-sources ubuntu.sources
بعد با هر ویرایشگری که میخواید اونو باز کنید. با ویرایشگری برید که بلد باشید باهاش پرونده رو ذخیره کنید و بلد باشید که ازش خارج شید.
تمام خطوطو حذف کنید و بعد متن زیر را رونوشت و با ترکیب مهار(ctrl) + تبدیل(shift) + v (حرف وی انگلیسی) متن رو جاگذاری کنید.
بعد پرونده رو ذخیره کنید و پرونده رو ببندید. حتما باید ذخیره بشه!!!
deb https://repo.iut.ac.ir/ubuntu/ noble main restricted universe multiverse
deb https://repo.iut.ac.ir/ubuntu/ noble-security main restricted universe multiverse
deb https://repo.iut.ac.ir/ubuntu/ noble-updates main restricted universe multiverse
بعد خروجی زیر را بذارید:
sudo apt update