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

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

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


توزیع گنو/لینوکس اوبونتو ۲۰ ساله شد 🎉

نویسنده موضوع: اشکال در نصب پروتکل pptp برای ایجاد کانکشکن vpn در توزیع Lubuntu  (دفعات بازدید: 1333 بار)

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

آفلاین firethumbs

  • Full Member
  • *
  • ارسال: 173
بنام خدا
دوستان سلام
من یه سیستم عامل ۳۲ بیتی lubuntu نصب دارم . می خواستم کانکشن vpn با پروتکل pptp بسازم . از طریق ترمینال و دستور apt-get اقدام کردم . ظاهرا باید سه تا پیش نیاز نصب بشه
1- network-manager-gnome که اونرا نصب دارم

2- network-manager-pptp که با پیام زیر مواجه می شودم

Package network-manager-pptp 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 'network-manager-pptp' has no installation candidate

3-  pptp-linux که با پیام زیر روبرو میشم.


Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package pptp-linux


چطور می تونم مشکل را حل کنم؟
باتشکر

« آخرین ویرایش: 30 آذر 1398، 08:27 ق‌ظ توسط firethumbs »

آفلاین دکتر کاظمی

  • Sr. Member
  • *
  • ارسال: 252
  • جنسیت : پسر
  • Manjaro+Cinnamon
 با دستور Aptitude امتحان  کن ببین نصب میشه ولی اول خودش را باید نصب کنی
sudo apt install Aptitude

آفلاین هومان

  • High Hero Member
  • *
  • ارسال: 1527
  • جنسیت : پسر
  • آرچ + گنوم
 برا دومی مخازنتو اپدیت کن بزن:
sudo apt update

آفلاین firethumbs

  • Full Member
  • *
  • ارسال: 173
با دستور Aptitude امتحان  کن ببین نصب میشه ولی اول خودش را باید نصب کنی
sudo apt install Aptitude

سلام
پیام زیر را می گیرم

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package aptitude 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 'aptitude' has no installation candidate


« آخرین ویرایش: 30 آذر 1398، 07:42 ق‌ظ توسط firethumbs »

آفلاین firethumbs

  • Full Member
  • *
  • ارسال: 173
برا دومی مخازنتو اپدیت کن بزن:
sudo apt update

سلام
پیام زیر را میگیرم

super@super-lubuntu:~$ sudo apt install Aptitude
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package aptitude 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 'aptitude' has no installation candidate
super@super-lubuntu:~$ sudo apt update
Ign http://ir.archive.ubuntu.com utopic InRelease
Ign http://ir.archive.ubuntu.com utopic-updates InRelease                     
Ign http://ir.archive.ubuntu.com utopic-backports InRelease                   
Ign http://ir.archive.ubuntu.com utopic Release.gpg                           
Ign http://extras.ubuntu.com utopic InRelease                               
Ign http://ir.archive.ubuntu.com utopic-updates Release.gpg                 
Ign http://ir.archive.ubuntu.com utopic-backports Release.gpg
Ign http://security.ubuntu.com utopic-security InRelease
Ign http://ir.archive.ubuntu.com utopic Release
Hit http://extras.ubuntu.com utopic Release.gpg
Ign http://ir.archive.ubuntu.com utopic-updates Release
Ign http://ir.archive.ubuntu.com utopic-backports Release
Ign http://security.ubuntu.com utopic-security Release.gpg           
Hit http://extras.ubuntu.com utopic Release                         
Ign http://security.ubuntu.com utopic-security Release               
Hit http://extras.ubuntu.com utopic/main Sources
Hit http://extras.ubuntu.com utopic/main i386 Packages                         
Ign http://extras.ubuntu.com utopic/main Translation-en_US                     
Ign http://extras.ubuntu.com utopic/main Translation-en             
Err http://security.ubuntu.com utopic-security/main Sources                 
  404  Not Found [IP: 91.189.88.24 80]
Err http://security.ubuntu.com utopic-security/restricted Sources
  404  Not Found [IP: 91.189.88.24 80]
Err http://security.ubuntu.com utopic-security/universe Sources
  404  Not Found [IP: 91.189.88.24 80]
Err http://security.ubuntu.com utopic-security/multiverse Sources
  404  Not Found [IP: 91.189.88.24 80]
Err http://security.ubuntu.com utopic-security/main i386 Packages
  404  Not Found [IP: 91.189.88.24 80]
Err http://security.ubuntu.com utopic-security/restricted i386 Packages
  404  Not Found [IP: 91.189.88.24 80]
Err http://security.ubuntu.com utopic-security/universe i386 Packages
  404  Not Found [IP: 91.189.88.24 80]
Err http://security.ubuntu.com utopic-security/multiverse i386 Packages
  404  Not Found [IP: 91.189.88.24 80]
Ign http://security.ubuntu.com utopic-security/main Translation-en_US
Ign http://security.ubuntu.com utopic-security/main Translation-en
Ign http://security.ubuntu.com utopic-security/multiverse Translation-en_US
Ign http://security.ubuntu.com utopic-security/multiverse Translation-en
Ign http://security.ubuntu.com utopic-security/restricted Translation-en_US
Ign http://security.ubuntu.com utopic-security/restricted Translation-en
Err http://ir.archive.ubuntu.com utopic/main Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic/restricted Sources
  404  Not Found [IP: 217.170.252.28 80]
Ign http://security.ubuntu.com utopic-security/universe Translation-en_US
Err http://ir.archive.ubuntu.com utopic/universe Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic/multiverse Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic/main i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Ign http://security.ubuntu.com utopic-security/universe Translation-en
Err http://ir.archive.ubuntu.com utopic/restricted i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic/universe i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic/multiverse i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Ign http://ir.archive.ubuntu.com utopic/main Translation-en_US
Ign http://ir.archive.ubuntu.com utopic/main Translation-en
Ign http://ir.archive.ubuntu.com utopic/multiverse Translation-en_US
Ign http://ir.archive.ubuntu.com utopic/multiverse Translation-en
Ign http://ir.archive.ubuntu.com utopic/restricted Translation-en_US
Ign http://ir.archive.ubuntu.com utopic/restricted Translation-en
Ign http://ir.archive.ubuntu.com utopic/universe Translation-en_US
Ign http://ir.archive.ubuntu.com utopic/universe Translation-en
Err http://ir.archive.ubuntu.com utopic-updates/main Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-updates/restricted Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-updates/universe Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-updates/multiverse Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-updates/main i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-updates/restricted i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-updates/universe i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-updates/multiverse i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Ign http://ir.archive.ubuntu.com utopic-updates/main Translation-en_US
Ign http://ir.archive.ubuntu.com utopic-updates/main Translation-en
Ign http://ir.archive.ubuntu.com utopic-updates/multiverse Translation-en_US
Ign http://ir.archive.ubuntu.com utopic-updates/multiverse Translation-en
Ign http://ir.archive.ubuntu.com utopic-updates/restricted Translation-en_US
Ign http://ir.archive.ubuntu.com utopic-updates/restricted Translation-en
Ign http://ir.archive.ubuntu.com utopic-updates/universe Translation-en_US
Ign http://ir.archive.ubuntu.com utopic-updates/universe Translation-en
Err http://ir.archive.ubuntu.com utopic-backports/main Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-backports/restricted Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-backports/universe Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-backports/multiverse Sources
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-backports/main i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-backports/restricted i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-backports/universe i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Err http://ir.archive.ubuntu.com utopic-backports/multiverse i386 Packages
  404  Not Found [IP: 217.170.252.28 80]
Ign http://ir.archive.ubuntu.com utopic-backports/main Translation-en_US
Ign http://ir.archive.ubuntu.com utopic-backports/main Translation-en
Ign http://ir.archive.ubuntu.com utopic-backports/multiverse Translation-en_US
Ign http://ir.archive.ubuntu.com utopic-backports/multiverse Translation-en
Ign http://ir.archive.ubuntu.com utopic-backports/restricted Translation-en_US
Ign http://ir.archive.ubuntu.com utopic-backports/restricted Translation-en
Ign http://ir.archive.ubuntu.com utopic-backports/universe Translation-en_US
Ign http://ir.archive.ubuntu.com utopic-backports/universe Translation-en
W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic/main/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic/restricted/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic/universe/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic/multiverse/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic/main/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic/restricted/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic/universe/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic/multiverse/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-updates/main/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-updates/restricted/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-updates/multiverse/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-updates/main/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-updates/restricted/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-updates/universe/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-updates/multiverse/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-backports/main/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-backports/restricted/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-backports/universe/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-backports/multiverse/source/Sources  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-backports/main/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-backports/restricted/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-backports/universe/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://ir.archive.ubuntu.com/ubuntu/dists/utopic-backports/multiverse/binary-i386/Packages  404  Not Found [IP: 217.170.252.28 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/main/source/Sources  404  Not Found [IP: 91.189.88.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/restricted/source/Sources  404  Not Found [IP: 91.189.88.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/universe/source/Sources  404  Not Found [IP: 91.189.88.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/multiverse/source/Sources  404  Not Found [IP: 91.189.88.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/main/binary-i386/Packages  404  Not Found [IP: 91.189.88.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/restricted/binary-i386/Packages  404  Not Found [IP: 91.189.88.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/universe/binary-i386/Packages  404  Not Found [IP: 91.189.88.24 80]

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/utopic-security/multiverse/binary-i386/Packages  404  Not Found [IP: 91.189.88.24 80]

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

« آخرین ویرایش: 30 آذر 1398، 07:44 ق‌ظ توسط firethumbs »

آفلاین firethumbs

  • Full Member
  • *
  • ارسال: 173
سلام. حل شد. با این ترفند

نقل‌قول



Well it failed to fetch because Ubuntu Natty has reached EOL(End Of Life). So you need to update your source list to install this package.

But I was wondering how saucy came into your source list while you were using natty. This is misleading. Taking in account that your system is Natty, follow the steps updating your source list so you can install packages from old repo archive.

    Backup current source list.

    mv /etc/apt/sources.list /etc/apt/sources.list.old

    create a new source list

    nano /etc/apt/sources.list

    Paste the following in it.

    deb http://old-releases.ubuntu.com/ubuntu/ natty main restricted universe multiverse

    deb http://old-releases.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse

    deb http://old-releases.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse

    deb http://old-releases.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

    Exit the editor

    Ctrl +x

    Y

    Now update

    sudo apt-get update

    Install your required package. Thats it.

[/
« آخرین ویرایش: 30 آذر 1398، 09:51 ق‌ظ توسط firethumbs »

آفلاین firethumbs

  • Full Member
  • *
  • ارسال: 173
دوستان مجددا سلام .
برای نصب یکی از پکیج ها با مشکل مواجه شدم


lubuntu:~$ sudo apt-get install network-manager-gnome
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:
 network-manager-gnome : Depends: libgconf2-4 (>= 2.31.1) but it is not going to be installed
                         Depends: network-manager (>= 0.8.4~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

لطفا راهنمایی بفرمایید.
باتشکر

آفلاین دکتر کاظمی

  • Sr. Member
  • *
  • ارسال: 252
  • جنسیت : پسر
  • Manjaro+Cinnamon
با دستور Aptitude امتحان  کن ببین نصب میشه ولی اول خودش را باید نصب کنی
sudo apt install Aptitude

سلام
پیام زیر را می گیرم

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package aptitude 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 'aptitude' has no installation candidate


با حروف کوچک بنویس aptitude