Could not install Handbreak through terminal, Returns error
Dear Sir/Madam,
I am a newbi, a complete novice. I have successfully installed Linux distro "Tara" in my computer . I have installed other required programmes also without any problem through terminal. But in installing Handbrake when I am giving the command to install Handbrake-cli I am getting an error at the end as follows: "Errors were encountered while Processing: Postfix E: sub-process/usr/bin/dpkg returned an error code (1) :-$ Please help me to solve this problem. |
please show us ALL commands issued and their COMPLETE output.
please use code tags for code (see my signature). |
to Ondoho:
I issued the following commands: $ sudo add-apt-repository ppa:stebbins/handbrake-release $ sudo apt-get update $ sudo apt-get install handbrake-gtk handbrake-cli after issuing the last command the terminal gave the error message code(1) But surprisingly I found Handbrake under the menu ' Sound & Video' after some time. Incidentally I do not know how to take the total output coming (scrawling)in the terminal, I am great noice, you know. Moreover if I go to install any software through Software Manager in all cases it gives a dialogue box with an error message that intallation or removal failed. When I close the dialogue Box the LAUNCH button comes up and pressing the same the programme sometimmes is launched and sometimes I do not find trace of the programme. In case of Removal of any same Programme same thing happens but the programme is removed. My mobo is Gygabyte dual bios B85M-D3H OS is Linux Mint 19 Cinamon ver 3.8.8 RAM 8GB Processor i-5 @ 3.10 X4 HDD: 1TB I am using Dual booting with MS Windows10 build 1803 I have installed Linux only 7 days ago in Drive D: having 299GB space, C: Drive hosing Windows 10 and D; drive is resident of all important files. Hope I have answered all your quiries except one about Total output (due to ignorance of my knowledge). |
To ONDOHO
Here is the complete output against commands given soma@soma-B85M-D3H:~$ sudo apt-get install hplip-gui [sudo] password for soma: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: hplip-gui 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/19.0 kB of archives. After this operation, 151 kB of additional disk space will be used. Selecting previously unselected package hplip-gui. (Reading database ... 301327 files and directories currently installed.) Preparing to unpack .../hplip-gui_3.17.10+repack0-5_all.deb ... Unpacking hplip-gui (3.17.10+repack0-5) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for desktop-file-utils (0.23+linuxmint3) ... Processing triggers for man-db (2.8.3-2) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Setting up hplip-gui (3.17.10+repack0-5) ... Setting up postfix (3.3.0-1) ... Postfix (main.cf) configuration was not changed. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run 'service postfix reload'. Running newaliases newaliases: warning: valid_hostname: misplaced delimiter: soma-B85M-D3H..name newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: soma-B85M-D3H..name dpkg: error processing package postfix (--configure): installed postfix package post-installation script subprocess returned error exit status 75 Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing: postfix E: Sub-process /usr/bin/dpkg returned an error code (1) soma@soma-B85M-D3H:~$ sudo apt-get update Ign:1 http://packages.linuxmint.com tara InRelease Hit:2 http://packages.linuxmint.com tara Release Hit:4 http://archive.canonical.com/ubuntu bionic InRelease Hit:5 http://archive.ubuntu.com/ubuntu bionic InRelease Get:6 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:8 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu bionic InRelease Hit:9 https://deb.opera.com/opera-stable stable InRelease Hit:10 http://ppa.launchpad.net/qbittorrent...-stable/ubuntu bionic InRelease Hit:11 http://ppa.launchpad.net/rebuntu16/a...fficial/ubuntu bionic InRelease Hit:12 http://ppa.launchpad.net/stebbins/ha...eleases/ubuntu bionic InRelease Get:13 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Fetched 172 kB in 36s (4,745 B/s) Reading package lists... Done soma@soma-B85M-D3H:~$ |
Possibly got corrupted over the internet, just try installing it again.
|
Quote:
Open a terminal and issue: Code:
sudo apt-get install -y handbrake-cli Have fun! |
Quote:
int main() { .soma@soma-B85M-D3H:~$ sudo apt-get install hplip-gui [sudo] password for soma: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: hplip-gui 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0 B/19.0 kB of archives. After this operation, 151 kB of additional disk space will be used. Selecting previously unselected package hplip-gui. (Reading database ... 301327 files and directories currently installed.) Preparing to unpack .../hplip-gui_3.17.10+repack0-5_all.deb ... Unpacking hplip-gui (3.17.10+repack0-5) ... Processing triggers for mime-support (3.60ubuntu1) ... Processing triggers for desktop-file-utils (0.23+linuxmint3) ... Processing triggers for man-db (2.8.3-2) ... Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ... Setting up hplip-gui (3.17.10+repack0-5) ... Setting up postfix (3.3.0-1) ... Postfix (main.cf) configuration was not changed. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run 'service postfix reload'. Running newaliases newaliases: warning: valid_hostname: misplaced delimiter: soma-B85M-D3H..name newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: soma-B85M-D3H..name dpkg: error processing package postfix (--configure): installed postfix package post-installation script subprocess returned error exit status 75 Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing: postfix E: Sub-process /usr/bin/dpkg returned an error code (1).. } My mobo is Gigabyte B85M-D3H dual bios Processor : i-5 @ 3.10 Ghz X4 Memory: 8GB OS: Linux-Mint 19 TARA I was a window user and installed Linux 7 days ago with a dual booting mode on bios legacy Mysteriously, Handbrake is installed and working properly. But the problem of Postfix and error return continuing in all cases. Even when I am installing or removing any application through "Software Manager" at the end a dialogue box appears showing " The installation or Removal has failed". But sometimes the installation is done sometimes not. Similar is wirh removal. I presume both the errors are linked together. In this code I tried to install HPLIP-Gtk current version (3.18.7) .But error came yet the programme Hplip is installed So please help me how to get rid of such error in my system. With regards. |
Quote:
Subsequently I found a post where the same error was referred in the year 2015 and was answered by BROTO. He advised some commands for resolving. I tried all those commands seperately. the total output is given below : oma@soma-B85M-D3H:~$ sudo dpkg --purge refind [sudo] password for soma: dpkg: warning: ignoring request to remove refind which isn't installed soma@soma-B85M-D3H:~$ sudo dpkg --configure -a Setting up postfix (3.3.0-1) ... Postfix (main.cf) configuration was not changed. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run 'service postfix reload'. Running newaliases newaliases: warning: valid_hostname: misplaced delimiter: soma-B85M-D3H..name newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: soma-B85M-D3H..name dpkg: error processing package postfix (--configure): installed postfix package post-installation script subprocess returned error exit status 75 Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing: postfix soma@soma-B85M-D3H:~$ sudo dpkg --audit The following packages are only half configured, probably due to problems configuring them the first time. The configuration should be retried using dpkg --configure <package> or the configure menu option in dselect: postfix High-performance mail transport agent soma@soma-B85M-D3H:~$ sudo apt-get update Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Hit:3 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu bionic InRelease Hit:4 http://archive.canonical.com/ubuntu bionic InRelease Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:6 http://ppa.launchpad.net/qbittorrent...-stable/ubuntu bionic InRelease Hit:7 http://ppa.launchpad.net/rebuntu16/a...fficial/ubuntu bionic InRelease Hit:8 https://deb.opera.com/opera-stable stable InRelease Hit:9 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Ign:10 http://packages.linuxmint.com tara InRelease Hit:11 http://ppa.launchpad.net/stebbins/ha...eleases/ubuntu bionic InRelease Hit:12 http://packages.linuxmint.com tara Release Fetched 172 kB in 2s (84.7 kB/s) Reading package lists... Done soma@soma-B85M-D3H:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up postfix (3.3.0-1) ... Postfix (main.cf) configuration was not changed. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run 'service postfix reload'. Running newaliases newaliases: warning: valid_hostname: misplaced delimiter: soma-B85M-D3H..name newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: soma-B85M-D3H..name dpkg: error processing package postfix (--configure): installed postfix package post-installation script subprocess returned error exit status 75 Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing: postfix E: Sub-process /usr/bin/dpkg returned an error code (1) soma@soma-B85M-D3H:~$ The post was marked as solved. But alas my problem is not solved. Please provide me help Thanking you. |
#include <stdio.h>
int main() {soma@soma-B85M-D3H:~$ sudo dpkg --purge refind [sudo] password for soma: dpkg: warning: ignoring request to remove refind which isn't installed soma@soma-B85M-D3H:~$ sudo dpkg --configure -a Setting up postfix (3.3.0-1) ... Postfix (main.cf) configuration was not changed. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run 'service postfix reload'. Running newaliases newaliases: warning: valid_hostname: misplaced delimiter: soma-B85M-D3H..name newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: soma-B85M-D3H..name dpkg: error processing package postfix (--configure): installed postfix package post-installation script subprocess returned error exit status 75 Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing: postfix soma@soma-B85M-D3H:~$ sudo dpkg --audit The following packages are only half configured, probably due to problems configuring them the first time. The configuration should be retried using dpkg --configure <package> or the configure menu option in dselect: postfix High-performance mail transport agent soma@soma-B85M-D3H:~$ sudo apt-get update Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Get:2 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB] Hit:3 http://ppa.launchpad.net/openshot.developers/ppa/ubuntu bionic InRelease Hit:4 http://archive.canonical.com/ubuntu bionic InRelease Get:5 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Hit:6 http://ppa.launchpad.net/qbittorrent...-stable/ubuntu bionic InRelease Hit:7 http://ppa.launchpad.net/rebuntu16/a...fficial/ubuntu bionic InRelease Hit:8 https://deb.opera.com/opera-stable stable InRelease Hit:9 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Ign:10 http://packages.linuxmint.com tara InRelease Hit:11 http://ppa.launchpad.net/stebbins/ha...eleases/ubuntu bionic InRelease Hit:12 http://packages.linuxmint.com tara Release Fetched 172 kB in 2s (84.7 kB/s) Reading package lists... Done soma@soma-B85M-D3H:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Do you want to continue? [Y/n] y Setting up postfix (3.3.0-1) ... Postfix (main.cf) configuration was not changed. If you need to make changes, edit /etc/postfix/main.cf (and others) as needed. To view Postfix configuration values, see postconf(1). After modifying main.cf, be sure to run 'service postfix reload'. Running newaliases newaliases: warning: valid_hostname: misplaced delimiter: soma-B85M-D3H..name newaliases: fatal: file /etc/postfix/main.cf: parameter myhostname: bad parameter value: soma-B85M-D3H..name dpkg: error processing package postfix (--configure): installed postfix package post-installation script subprocess returned error exit status 75 Processing triggers for libc-bin (2.27-3ubuntu1) ... Errors were encountered while processing: postfix E: Sub-process /usr/bin/dpkg returned an error code (1) soma@soma-B85M-D3H:~$ } |
@OP, please paste the output from the following command so we can see if you have any broken packages (please paste it within CODE tags or do not include the line of equals):
Code:
dpkg -l | grep -v "^ii" |
Quote:
I'm seriously baffled - this makes zero sense to me, so little that I cannot even ask the right questions. I hope hydrurga can handle this in their usual straightforward & relentless manner. |
Reply to Hydruga
Code:
soma@soma-B85M-D3H:~$ dpkg -l | grep -v "^ii" soma@soma-B85M-D3H:~$ |
I asked you kindly to "please paste it within CODE tags or do not include the line of equals".
You did neither and thus the width of this thread is now unmanageable. I have asked a mod to rectify the situation. |
Reply to Hydruga
Dear Hydruga,
I am extremely sorry. I am a great novice and do not know how to send the output of your advised code in the way you asked me. However I have re-installed Linux-mint 19 Tara as other problems also cropped up due to my mishandling and possibly running BleachBit. I am trying to use Tara as per guidelines from Internet & "its Foss". If any further problem arises I shall seek help from forum. But still I would like to know what you meant by sending output in quotes or not to include equals. Kindly send me a reply to enlighten me. |
Quote:
Two ways of mitigating this are to post the output within CODE tags (see the # symbol on LQ's advanced edit toolbar) or to remove the equals signs from the output that is posted. This is what I asked you to do. If you didn't understand my request then you could have asked me at the time before posting. As it is, the mods appear to have ignored my request to remove the equals signs and this thread remains stretched and difficult to manage for those with smaller screens. Good luck with your new install of Tara - I hope it goes well! Let us know if you face any further difficulties. |
All times are GMT -5. The time now is 05:24 PM. |