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

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

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


ارائه ۲۴٫۱۰ اوبونتو منتشر شد 🎉

نویسنده موضوع: اشکال در نصب wine  (دفعات بازدید: 4904 بار)

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

آفلاین محمد باقر فکوری

  • Jr. Member
  • *
  • ارسال: 52
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #15 : 05 اردیبهشت 1399، 02:01 ب‌ظ »
فایل deb نداره راحت نصب کنیم واسه wine5 ؟

آفلاین هومان

  • High Hero Member
  • *
  • ارسال: 1527
  • جنسیت : پسر
  • آرچ + گنوم
پاسخ : اشکال در نصب wine
« پاسخ #16 : 05 اردیبهشت 1399، 02:36 ب‌ظ »
خب جای unhold بزن hold

آفلاین محمد باقر فکوری

  • Jr. Member
  • *
  • ارسال: 52
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #17 : 05 اردیبهشت 1399، 02:59 ب‌ظ »
mf@mf-X555LP:~$ sudo apt-mark hold wine-stable
[sudo] password for mf:
wine-stable set on hold.


mf@mf-X555LP:~$ sudo apt install --install-recommends winehq-stable
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:
 winehq-stable : Depends: wine-stable (= 5.0.0~eoan)
E: Unable to correct problems, you have held broken packages.


 :'(

آفلاین Sun-PDA

  • Hero Member
  • *
  • ارسال: 841
پاسخ : اشکال در نصب wine
« پاسخ #18 : 05 اردیبهشت 1399، 03:29 ب‌ظ »
خروجی دستور apt list --installed | grep wine

آفلاین محمد باقر فکوری

  • Jr. Member
  • *
  • ارسال: 52
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #19 : 05 اردیبهشت 1399، 03:48 ب‌ظ »
mf@mf-X555LP:~$ apt list --installed | grep wine

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

mf@mf-X555LP:~$ sudo apt install --install-recommends winehq-stable
[sudo] password for mf:
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:
 winehq-stable : Depends: wine-stable (= 5.0.0~eoan)
E: Unable to correct problems, you have held broken packages.

آفلاین محمد باقر فکوری

  • Jr. Member
  • *
  • ارسال: 52
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #20 : 06 اردیبهشت 1399، 03:50 ب‌ظ »
کسی نمیدونه من چیکار کنم ؟

آفلاین SLACKER

  • Hero Member
  • *
  • ارسال: 868
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #21 : 06 اردیبهشت 1399، 04:10 ب‌ظ »
کسی نمیدونه من چیکار کنم ؟
sudo dpkg –configure -a
اسلکور

آفلاین محمد باقر فکوری

  • Jr. Member
  • *
  • ارسال: 52
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #22 : 06 اردیبهشت 1399، 04:45 ب‌ظ »
mf@mf-X555LP:~$ sudo dpkg -configure -a
[sudo] password for mf:
dpkg: error: unknown option -o

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !

آفلاین SLACKER

  • Hero Member
  • *
  • ارسال: 868
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #23 : 06 اردیبهشت 1399، 04:50 ب‌ظ »
mf@mf-X555LP:~$ sudo dpkg -configure -a
[sudo] password for mf:
dpkg: error: unknown option -o

Type dpkg --help for help about installing and deinstalling packages [*];
Use 'apt' or 'aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through 'less' or 'more' !
اشتباه نوشتم. - کم گذاشتم
sudo dpkg -–configure -a
و بعد
sudo apt-get install -f
اسلکور

آفلاین محمد باقر فکوری

  • Jr. Member
  • *
  • ارسال: 52
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #24 : 06 اردیبهشت 1399، 05:20 ب‌ظ »
mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  cups-browsed cups-core-drivers cups-daemon cups-server-common hplip-data libart-2.0-2 libcupscgi1 libcupsmime1 libgutenprint2 libhpmud0
  libsane-hpaio libsnmp-base libsnmp30 python3-olefile python3-pil python3-renderpm python3-reportlab python3-reportlab-accel ssl-cert
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libc-bin locales
The following NEW packages will be installed:
  libc-bin locales
0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/4253 kB of archives.
After this operation, 18.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_GB.UTF-8",
LC_MONETARY = "en_GB.UTF-8",
LC_ADDRESS = "en_GB.UTF-8",
LC_TELEPHONE = "en_GB.UTF-8",
LC_NAME = "en_GB.UTF-8",
LC_MEASUREMENT = "en_GB.UTF-8",
LC_IDENTIFICATION = "en_GB.UTF-8",
LC_NUMERIC = "en_GB.UTF-8",
LC_PAPER = "en_GB.UTF-8",
LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libreoffice-l10n-en-za : Depends: locales but it is not going to be installed or
                                   belocs-locales-data but it is not installable or
                                   locales-all
 libreoffice-l10n-fa : Depends: locales but it is not going to be installed or
                                belocs-locales-data but it is not installable or
                                locales-all
                       Recommends: font-farsiweb but it is not installable
 winehq-stable : Depends: wine-stable (= 5.0.0~eoan)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


اسن نمیشه لامصب دو روزه دارم زور میزنم چیه این لینوکس !

آفلاین SLACKER

  • Hero Member
  • *
  • ارسال: 868
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #25 : 06 اردیبهشت 1399، 06:14 ب‌ظ »
mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  cups-browsed cups-core-drivers cups-daemon cups-server-common hplip-data libart-2.0-2 libcupscgi1 libcupsmime1 libgutenprint2 libhpmud0
  libsane-hpaio libsnmp-base libsnmp30 python3-olefile python3-pil python3-renderpm python3-reportlab python3-reportlab-accel ssl-cert
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libc-bin locales
The following NEW packages will be installed:
  libc-bin locales
0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/4253 kB of archives.
After this operation, 18.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_GB.UTF-8",
LC_MONETARY = "en_GB.UTF-8",
LC_ADDRESS = "en_GB.UTF-8",
LC_TELEPHONE = "en_GB.UTF-8",
LC_NAME = "en_GB.UTF-8",
LC_MEASUREMENT = "en_GB.UTF-8",
LC_IDENTIFICATION = "en_GB.UTF-8",
LC_NUMERIC = "en_GB.UTF-8",
LC_PAPER = "en_GB.UTF-8",
LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libreoffice-l10n-en-za : Depends: locales but it is not going to be installed or
                                   belocs-locales-data but it is not installable or
                                   locales-all
 libreoffice-l10n-fa : Depends: locales but it is not going to be installed or
                                belocs-locales-data but it is not installable or
                                locales-all
                       Recommends: font-farsiweb but it is not installable
 winehq-stable : Depends: wine-stable (= 5.0.0~eoan)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


اسن نمیشه لامصب دو روزه دارم زور میزنم چیه این لینوکس !
این ایرور مربوط میشه به sudo که باید حلش کنی mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
برو به حالت su - و دوباره این دستور رو بزن dpkg --configure -a 
وقتی توی محیط روت دستور دیگه ای اجرا نکن
اسلکور

آفلاین bed123derkelo

  • High Sr. Member
  • *
  • ارسال: 658
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #26 : 06 اردیبهشت 1399، 06:23 ب‌ظ »
باسلام

به لینک زیر بورو بیبن نتیجه چی میشه.روشی که گذاشته با قبلی فرق میکنه.

https://linuxhint.com/install_wine_ubuntu/

آفلاین محمد باقر فکوری

  • Jr. Member
  • *
  • ارسال: 52
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #27 : 06 اردیبهشت 1399، 06:43 ب‌ظ »
mf@mf-X555LP:~$ sudo su -
[sudo] password for mf:
-su: warning: setlocale: LC_NUMERIC: cannot change locale (C.UTF-8): No such file or directory
-su: warning: setlocale: LC_TIME: cannot change locale (C.UTF-8): No such file or directory
root@mf-X555LP:~# dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  cups-browsed cups-core-drivers cups-daemon cups-server-common hplip-data libart-2.0-2 libcupscgi1 libcupsmime1 libgutenprint2 libhpmud0
  libsane-hpaio libsnmp-base libsnmp30 python3-olefile python3-pil python3-renderpm python3-reportlab python3-reportlab-accel ssl-cert
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libc-bin locales
The following NEW packages will be installed:
  libc-bin locales
0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/4253 kB of archives.
After this operation, 18.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_GB.UTF-8",
LC_MONETARY = "en_GB.UTF-8",
LC_ADDRESS = "en_GB.UTF-8",
LC_TELEPHONE = "en_GB.UTF-8",
LC_NAME = "en_GB.UTF-8",
LC_MEASUREMENT = "en_GB.UTF-8",
LC_IDENTIFICATION = "en_GB.UTF-8",
LC_NUMERIC = "en_GB.UTF-8",
LC_PAPER = "en_GB.UTF-8",
LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libreoffice-l10n-en-za : Depends: locales but it is not going to be installed or
                                   belocs-locales-data but it is not installable or
                                   locales-all
 libreoffice-l10n-fa : Depends: locales but it is not going to be installed or
                                belocs-locales-data but it is not installable or
                                locales-all
                       Recommends: font-farsiweb but it is not installable
 winehq-stable : Depends: wine-stable (= 5.0.0~eoan)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


اسن نمیشه لامصب دو روزه دارم زور میزنم چیه این لینوکس !
این ایرور مربوط میشه به sudo که باید حلش کنی mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 dpkg --configure -aexpected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
برو به حالت su - و دوباره این دستور رو بزن dpkg --configure -a  dpkg --configure -a
وقتی توی محیط روت دستور دیگه ای اجرا نکن

آفلاین محمد باقر فکوری

  • Jr. Member
  • *
  • ارسال: 52
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #28 : 06 اردیبهشت 1399، 06:47 ب‌ظ »
نمیشه! میخواین با any desk خودتون بیاید ببینید

باسلام

به لینک زیر بورو بیبن نتیجه چی میشه.روشی که گذاشته با قبلی فرق میکنه.

https://linuxhint.com/install_wine_ubuntu/

آفلاین SLACKER

  • Hero Member
  • *
  • ارسال: 868
  • جنسیت : پسر
پاسخ : اشکال در نصب wine
« پاسخ #29 : 06 اردیبهشت 1399، 07:05 ب‌ظ »
mf@mf-X555LP:~$ sudo su -
[sudo] password for mf:
-su: warning: setlocale: LC_NUMERIC: cannot change locale (C.UTF-8): No such file or directory
-su: warning: setlocale: LC_TIME: cannot change locale (C.UTF-8): No such file or directory
root@mf-X555LP:~# dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  cups-browsed cups-core-drivers cups-daemon cups-server-common hplip-data libart-2.0-2 libcupscgi1 libcupsmime1 libgutenprint2 libhpmud0
  libsane-hpaio libsnmp-base libsnmp30 python3-olefile python3-pil python3-renderpm python3-reportlab python3-reportlab-accel ssl-cert
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libc-bin locales
The following NEW packages will be installed:
  libc-bin locales
0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded.
Need to get 0 B/4253 kB of archives.
After this operation, 18.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US:en",
LC_ALL = (unset),
LC_TIME = "en_GB.UTF-8",
LC_MONETARY = "en_GB.UTF-8",
LC_ADDRESS = "en_GB.UTF-8",
LC_TELEPHONE = "en_GB.UTF-8",
LC_NAME = "en_GB.UTF-8",
LC_MEASUREMENT = "en_GB.UTF-8",
LC_IDENTIFICATION = "en_GB.UTF-8",
LC_NUMERIC = "en_GB.UTF-8",
LC_PAPER = "en_GB.UTF-8",
LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
Preconfiguring packages ...
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)


mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo apt install --install-recommends winehq-stable
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libreoffice-l10n-en-za : Depends: locales but it is not going to be installed or
                                   belocs-locales-data but it is not installable or
                                   locales-all
 libreoffice-l10n-fa : Depends: locales but it is not going to be installed or
                                belocs-locales-data but it is not installable or
                                locales-all
                       Recommends: font-farsiweb but it is not installable
 winehq-stable : Depends: wine-stable (= 5.0.0~eoan)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


اسن نمیشه لامصب دو روزه دارم زور میزنم چیه این لینوکس !
این ایرور مربوط میشه به sudo که باید حلش کنی mf@mf-X555LP:/tmp/apps/sys-utils/start-stop-daemon-IR1_9_18-2$ sudo dpkg --configure -a
dpkg: warning: 'ldconfig' not found in PATH or not executable
dpkg: error: 1 dpkg --configure -aexpected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
برو به حالت su - و دوباره این دستور رو بزن dpkg --configure -a  dpkg --configure -a
وقتی توی محیط روت دستور دیگه ای اجرا نکن
echo $PATH
اسلکور