I downloaded the latest version of hplip (3.19.5) from . Following the installation instructions, I ran:  sh hplip-3.19.5.run   It all worked well until the last step, where I got the following output:  PRE-BUILD COMMANDS ------------------ OK   BUILD AND INSTALL ----------------- Running './configure --with-hpppddir=/usr/share/ppd/HP --libdir=/usr/lib --prefix=/usr --enable-qt4 --disable-qt5 --enable-doc-build --disable-cups-ppd-install --disable-foomatic-drv-install --disable-libusb01_build --disable-foomatic-ppd-install --disable-hpijs-install --disable-class-driver --disable-udev_sysfs_rules --disable-policykit --enable-cups-drv-install --enable-hpcups-install --enable-network-build --enable-dbus-build --enable-scan-build --enable-fax-build --enable-apparmor_build' Please wait, this may take several minutes... Command completed successfully.  Running 'make clean' Please wait, this may take several minutes... Command completed successfully.  Running 'make' Please wait, this may take several minutes... error: 'make' command failed with status code 2   Indeed, when I run make I get:  make: *** No targets specified and no makefile found.  Stop.
5848
Let's assume that one has some HP printer and/or scanner and checked its support status on the corresponding page of HPLIP site - .  So one have the following information: the device Model name, Min. HPLIP Version and Driver Plug-in need.   What should one install to make Ubuntu fully support the HP printer and/or scanner?
11425
Trying to install drivers for a HP P1100W on Ubuntu 12.04.  The printer was recognized as soon as I hooked it up.  I'm using the USB cable.  I followed the directions of this question    and I get the message that I now need the "HP-Plugin.   Also, how do I get rid of all the test prints that are still spooled?  There is no clear button.
75201
I wanted to get a look at MySQL 5.6 on Ubuntu 14.04 just out of curiosity. And based on  it certainly looked like installation should be simple and straightforward. So I fired up an AWS EC2 micro server running Ubuntu 14.04 (64-bit), logged into my pristine instance (via PuTTY), and issued the following commands:  $ sudo apt-get update $ sudo apt-get build-dep mysql-server-5.6 $ sudo apt-get install mysql-server-5.6   (The first two commands were desperation moves, since simply running apt-get install alone had previously not worked. But even with all three commands, the install step still did not work.)  At the point where I expected, based on the article referenced above, to see this output from the final command:  mysql start/running, process 2355   Setting up libhtml-template-perl (2.95-1) ...   Setting up mysql-common-5.6 (5.6.16-1~exp1) ...   Processing triggers for libc-bin (2.19-0ubuntu6) ...   Processing triggers for ureadahead (0.100.0-16) ...     I got this instead:  start: Job failed to start   invoke-rc.d: initscript mysql, action "start" failed.   dpkg: error processing package mysql-server-5.6 (--configure):    subprocess installed post-installation script returned error exit status 1   Setting up libhtml-template-perl (2.95-1) ...   Setting up mysql-common-5.6 (5.6.16-1~exp1) ...   Processing triggers for libc-bin (2.19-0ubuntu6) ...   Processing triggers for ureadahead (0.100.0-16) ...   Errors were encountered while processing:    mysql-server-5.6   E: Sub-process /usr/bin/dpkg returned an error code (1)   Can anyone see what went wrong?
7284
I'm getting the following error message when attempting to install libglew-dev,  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:  libcheese-gtk23 : Depends: libclutter-gtk-1.0-0 (&gt;= 0.91.8) but it is not going to be installed                    Depends: libcogl15 (&gt;= 1.15.8) but it is not going to be installed  libcheese7 : Depends: libclutter-gst-2.0-0 (&gt;= 0.10.0) but it is not going to be installed               Depends: gstreamer1.0-clutter but it is not going to be installed  libclutter-1.0-0 : Depends: libcogl-pango15 (&gt;= 1.15.8) but it is not going to be installed                     Depends: libcogl15 (&gt;= 1.15.8) but it is not going to be installed E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.   All those packages are however apparently already installed.  I have tried all possible solutions in  post, without any luck. I have not added any PPAs. The version of ubuntu is 14.04.2.  I have looked at similar posts, and tried the following:  Running  dpkg --get-selections | grep hold   prints nothing.  sudo apt-get -oDebug::pkgProblemResolver=true install -f   Gives me nothing of interest, 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
96365
I tried to set up broadband Internet connection, started as I found   sudo pppoeconf   and shown that wifi was disabled.     Sorry, I scanned 2 interfaces, but the Access   Concentrator of your provider did not respond. Please   check your network and modem cables. Another reason for   the scan failure may also be another running pppoe   process which controls the modem.   and the result found below my command was  SIOCSIFFLAGS: Operation not possible due to RF-kill   If the same command runs after enabling wifi, no result is showing in terminal.  Then I tried another command  sudo ifconfig   And got this result:  eth0      Link encap:Ethernet  HWaddr 20:89:84:ea:68:5d             UP BROADCAST MULTICAST  MTU:1500  Metric:1           RX packets:0 errors:0 dropped:0 overruns:0 frame:0           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)           Interrupt:16   lo        Link encap:Local Loopback             inet addr:127.0.0.1  Mask:255.0.0.0           inet6 addr: ::1/128 Scope:Host           UP LOOPBACK RUNNING  MTU:65536  Metric:1           RX packets:8947 errors:0 dropped:0 overruns:0 frame:0           TX packets:8947 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:0            RX bytes:961374 (961.3 KB)  TX bytes:961374 (961.3 KB)   wlan0     Link encap:Ethernet  HWaddr 48:d2:24:3f:4f:3e             inet addr:192.168.59.104  Bcast:192.168.59.255  Mask:255.255.255.0           inet6 addr: fe80::4ad2:24ff:fe3f:4f3e/64 Scope:Link           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1           RX packets:241942 errors:0 dropped:0 overruns:0 frame:0           TX packets:173747 errors:0 dropped:0 overruns:0 carrier:0           collisions:0 txqueuelen:1000            RX bytes:338342037 (338.3 MB)  TX bytes:18314966 (18.3 MB)   Can anyone please explain to me what the is problem and what steps I should follow to resolve it?
95291
I want to run a ppp connection when my USB modem is connected, so I use this udev rule:  ACTION=="add", SUBSYSTEM=="tty", ATTRS{idVendor}=="16d8",\     RUN+="/usr/local/bin/newPPP.sh $env{DEVNAME}"  (My modem appears in /dev as ttyACM0)  newPPP.sh:  #!/bin/bash /usr/bin/pon prov $1 &gt;/dev/null 2&gt;&amp;1 &amp;   Problem:  The udev event fires, and newPPP.sh is running, but newPPP.sh process is killed after ~4-5s. ppp does not have time to connect (its timeout is 10s for dial up).  How can I run a long time process, that will not be killed?  I tried using nohup, but it didn't work either.  System: Arch Linux  Update  I found a solution , thanks to .  I use at now to run my job detached from udev process.  But the one question remains unanswered: Why do nohup and &amp; not work?
42422
It's my second post here, i have a huge problem which prevents me to study so i have to fix it as soon as it's possible ! My gcc was working fine and i had to work on FairThreads (in C). I downloaded the following archive :  As you can see, in /src there's a makeFile, i replaced the second line which was : LIB_DIR     = ../lib  by LIB_DIR     =  /usr/bin/ld and i compiled the makeFile by the command &quot;make&quot; And now, i cannot compile any c/c++ program anymore. Even a hello world program. I got the following error message on the terminal for every compiling attempt : /usr/bin/ld: 2: /usr/bin/ld: Syntax error: newline unexpected collect2: error: ld returned 2 exit status  I have found on the net this solution but it doesn't work for me : sudo apt-get autoremove binutils     sudo apt-get install binutils  I also tried to reinstall gcc, when executing : sudo apt-get purge gcc   i got : Des erreurs ont été rencontrées pendant l'exécution :   linux-firmware   linux-image-generic-hwe-18.04   linux-generic-hwe-18.04 E: Sub-process /usr/bin/dpkg returned an error code (1)  but when i trie a gcc --version it tells me that it is not found. So when i execute the command to reintall it : sudo apt-get install gcc   i also get : Des erreurs ont été rencontrées pendant l'exécution :  linux-firmware  linux-image-generic-hwe-18.04  linux-generic-hwe-18.04  linux-image-5.4.0-72-generic  initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1)  but gcc --version tellls that it's installed. Finally, when i trie to compile a program, i got : /usr/bin/ld: 2: /usr/bin/ld: Syntax error: newline unexpected collect2: error: ld returned 2 exit status  I hope that i explained well, and i'll get a solution for this :/, as a computer science student, i can't do anything without gcc :( EDIT 1 : When i try to remove bin/ld by executing : sudo rm -fr /usr/bin/ld;sudo apt-get install --reinstall binutils  i got : Des erreurs ont été rencontrées pendant l'exécution :  linux-firmware  linux-image-generic-hwe-18.04  linux-generic-hwe-18.04  linux-image-5.4.0-72-generic  initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1)  and this particular error message : WARNING: no ldd around - install libc-bin  EDIT : I have installed ldd by the command : sudo apt-get install libc-bin  still no changes...
62749
I am unable to print documents using my HP printer. However, I am able to print test pages.  What I tried:  I have tried removing and re-installing the printer from the system settings but I can only print once (the first task). Then all the following tasks get stuck at the "Rendering Completed" status.  I additionally tried restarting the computer which leads in the same task mentioned above.  Moreover, I logged into the CUPS system ( 1.6.2) from http://localhost:631  From there, I removed the printer, restarted it and re-installed with no sucess.  System Specifications:  System : Ubuntu GNOME 13.04  Memory: 3.9 GB  CPU : AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ × 2   OS-type : 32 bit  Graphics: Gallium 0.4 on NVA3  Printer: HP Deskjet 2050 j510 Series  IP Adress: localhost  I had no problems with my previous OS which was Pinguy OS 11.04 ( a distro based on Ubuntu 11.04) and it's the first time I use my printer at this OS.  Screenshots:   My printer stuck at "Rendering Completed" status.     From the CUPS web interface; you can see that "Rendering Completed" is stuck at the state of the print process.  **EDIT:**I tried printing from the pdf.js pdf viewer of firefox: I wait for about 5 minutes for a 10 pages document to print, the document is printed like faded and sort of in bold font (I accuse rendering for that). Then the status of the printer gets stuck at 'Rendering Completed' but I can print later on. Again, for the next prints I wait for 5 minutes minimum ( I wait for the 'Rendering....' bar to fill ) and the printing is weird.
85636
I have a new computer with a Asus P5QL Pro motherboard and wanted to plug my old HP DeskJet 950C printer into it only to discover that the motherboard has no LPT/Parallel port.  What is the best solution for this?    is there a LPT-to-USB adapter? do I need to buy an LPT PCI board?
39623
Should one use the PPA or manually install the .debs from ?  Is there any difference between the two? How long does it take for the ppa to upgrade to the latest version?
15637
My googlefu has failed me. What packages are part of the "standard system utilities" that is preselected during install?  TIA! (-:
57430
$ apt-get install -f -o 'Dpkg::Options::=--force-confmiss --force-all --force-confnew --overwrite-conffiles' --reinstall at-spi2-core Reading package lists... Done Building dependency tree        Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies:  kde-workspace-bin : Depends: qdbus but it is not going to be installed  libqt4-dbus : Depends: qdbus (= 4:4.8.5+git192-g085f851+dfsg-2ubuntu4) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).   I don't quite understand "but it is not going to be installed". Why doesn't it install it then?  apt-get -f install does not help, it does nothing:  $ apt-get install -f Reading package lists... Done Building dependency tree        Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
121267
./configure checking for gfind... no checking for find... /usr/bin/find checking for sort... /usr/bin/sort checking for ghc... no configure: error: GHC is required unless bootstrapping from .hc files. 256   I want to install Glasgow Haskell Compiler, and ./configure asks for GHC. What kind of GHC is it asking for? Global Hadron Collider? I downloaded the source from
15634
I am attempting to install java7 in a docker image. This was working till a few days ago. Commands are:      apt-get --fix-missing update     apt-get -y upgrade      apt-get -y install software-properties-common     add-apt-repository ppa:webupd8team/java     apt-get -y upgrade     apt-get -y update      echo oracle-java7-installer shared/accepted-oracle-license-v1-1 select true | /usr/bin/debconf-set-selections     apt-get install -y oracle-java7-installer   Output is:         Setting up oracle-java7-installer (7u80+7u60arm-0~webupd8~1) ...        debconf: unable to initialize frontend: Dialog        debconf: (TERM is not set, so the dialog frontend is not usable.)        debconf: falling back to frontend: Readline        debconf: unable to initialize frontend: Readline        debconf: (This frontend requires a controlling tty.)        debconf: falling back to frontend: Teletype        Downloading Oracle Java 7...        --2017-05-29 16:54:29--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz        Resolving download.oracle.com (download.oracle.com)... 104.96.220.162, 104.96.220.106        Connecting to download.oracle.com (download.oracle.com)|104.96.220.162|:80... connected.        HTTP request sent, awaiting response... 302 Moved Temporarily        Location: (REMOVING H-T-T-P-S BECAUSE I DON'T HAVE ENOUGH REP POINTS)://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz [following]        --2017-05-29 16:54:29--  (REMOVING H-T-T-P-S BECAUSE I DON'T HAVE ENOUGH REP POINTS)://edelivery.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz        Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.196.115.62, 2600:1408:10:184::2d3e, 2600:1408:10:185::2d3e        Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.196.115.62|:443... connected.        HTTP request sent, awaiting response... 302 Moved Temporarily        Location: (REMOVING H-T-T-P BECAUSE I DON'T HAVE ENOUGH REP POINTS)//download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1496076904_47c6805122b1f8131f00e210452116ca [following]        --2017-05-29 16:54:29--  http://download.oracle.com/otn-pub/java/jdk/7u80-b15/jdk-7u80-linux-x64.tar.gz?AuthParam=1496076904_47c6805122b1f8131f00e21                                                0452116ca        Connecting to download.oracle.com (download.oracle.com)|104.96.220.162|:80... connected.        HTTP request sent, awaiting response... 404 Not Found        2017-05-29 16:54:31 ERROR 404: Not Found.         download failed        Oracle JDK 7 is NOT installed.        dpkg: error processing package oracle-java7-installer (--configure):        subprocess installed post-installation script returned error exit status 1        Setting up gsfonts (1:8.11+urwcyr1.0.7~pre44-4.2ubuntu1) ...        Setting up x11-common (1:7.7+1ubuntu8.1) ...        debconf: unable to initialize frontend: Dialog        debconf: (TERM is not set, so the dialog frontend is not usable.)        debconf: falling back to frontend: Readline        debconf: unable to initialize frontend: Readline        debconf: (This frontend requires a controlling tty.)        debconf: falling back to frontend: Teletype        invoke-rc.d: policy-rc.d denied execution of start.        Processing triggers for ureadahead (0.100.0-16) ...        Setting up xfonts-encodings (1:1.0.4-1ubuntu1) ...        Setting up xfonts-utils (1:7.7+1) ...        Setting up gsfonts-x11 (0.22) ...        Processing triggers for libc-bin (2.19-0ubuntu6.9) ...        Errors were encountered while processing:         oracle-java7-installer        E: Sub-process /usr/bin/dpkg returned an error code (1)        The command '/bin/sh -c apt-get install -y oracle-java7-installer'            returned a non-zero code: 100
39216
This is a  about Compile Dependencies and Package Management.    I have a question regarding compiling ports/software or installing RPMs on my *nix server.  When I try to do this I receive lots of messages about missing dependencies.  Can the Server Fault community please help?
115469
I am trying to install apr-util so I can install .  I could not run make because it didn't find some xml files. I installed the libexpat1-dev and the make ran without problems.  Today with make test I have the following errors:  ../.libs/libaprutil-1.so: undefined reference to `XML_GetErrorCode' ../.libs/libaprutil-1.so: undefined reference to `XML_SetEntityDeclHandler' ../.libs/libaprutil-1.so: undefined reference to `XML_ParserCreate' ../.libs/libaprutil-1.so: undefined reference to `XML_SetCharacterDataHandler' ../.libs/libaprutil-1.so: undefined reference to `XML_ParserFree' ../.libs/libaprutil-1.so: undefined reference to `XML_SetUserData' ../.libs/libaprutil-1.so: undefined reference to `XML_StopParser' ../.libs/libaprutil-1.so: undefined reference to `XML_Parse' ../.libs/libaprutil-1.so: undefined reference to `XML_ErrorString' ../.libs/libaprutil-1.so: undefined reference to `XML_SetElementHandler'   What do I do?
16444
The server version of Ubuntu does not have the  command. How can I add a  (PPA) to the server without this command?