I think this is where the script grabs the files from anyway it does not help when output says cannot find file or directory and it refers to
/var/spool/lpd and /var/spoo/lpd/mfcj615w as in the script fails to check these exist and fails to act accordingly I had fixed this by creating them (my previous printer was also brother) and that required a degree of hacking too to get it working, including running a dpkg using csh Thankfully my previous printer is now supported, but as that died, i got a new one and this isn't listed in the cups printer list, hence we need to go through all these hoops Paul On 22/12/11 00:17, Phill Whiteside wrote: > Hiyas Paul, > > I've had a quick dig... have you taken a look at > http://ubuntuforums.org/showthread.php?t=1702967 (I like threads that are > marked [SOLVED]). > > Regards, > > Phill. > > On Thu, Dec 22, 2011 at 12:05 AM, paul sutton <[email protected]> wrote: > >> Hi >> >> I am still struggling toget my printer to work in ubuntu 10.04 >> >> printer brother mfc j615w >> >> thanks to the guys on the #ubuntu-uk irc channel i was given the >> following site >> >> https://answers.launchpad.net/ubuntu/+source/cups/+question/145783 >> >> this is a copy of ALL the output i get from the 2nd script on the page >> (first one also failed) >> >> psutton@E-machine:~$ mkdir ~/print; cd ~/print; wget >> http://www.brother.com/pub/bsc/linux/dlf/mfcj615wlpr-1.1.1-1.i386.deb; >> sudo dpkg -i ./mfcj615wlpr-1.1.1-1.i386.deb; wget >> >> http://www.brother.com/pub/bsc/linux/dlf/mfcj615wcupswrapper-1.1.1-1.i386.deb >> ; >> sudo dpkg -i ./mfcj615wcupswrapper-1.1.1-1.i386.deb; sudo apt-get -f >> install; cd; rm -r ~/print >> --2011-12-22 00:00:39-- >> http://www.brother.com/pub/bsc/linux/dlf/mfcj615wlpr-1.1.1-1.i386.deb >> Resolving www.brother.com... 82.71.193.242, 82.71.193.234 >> Connecting to www.brother.com|82.71.193.242|:80... connected. >> HTTP request sent, awaiting response... 302 Moved Temporarily >> Location: >> http://pub.brother.com/pub/com/bsc/linux/dlf/mfcj615wlpr-1.1.1-1.i386.deb[following] >> --2011-12-22 00:00:40-- >> http://pub.brother.com/pub/com/bsc/linux/dlf/mfcj615wlpr-1.1.1-1.i386.deb >> Resolving pub.brother.com... 82.71.193.240, 82.71.193.233 >> Connecting to pub.brother.com|82.71.193.240|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 1897116 (1.8M) [text/plain] >> Saving to: `mfcj615wlpr-1.1.1-1.i386.deb' >> >> 100%[======================================>] 1,897,116 819K/s in >> 2.3s >> >> 2011-12-22 00:00:42 (819 KB/s) - `mfcj615wlpr-1.1.1-1.i386.deb' saved >> [1897116/1897116] >> >> [sudo] password for psutton: >> (Reading database ... 286276 files and directories currently installed.) >> Preparing to replace mfcj615wlpr 1.1.1-1 (using >> ./mfcj615wlpr-1.1.1-1.i386.deb) ... >> Unpacking replacement mfcj615wlpr ... >> dpkg: warning: subprocess old post-removal script returned error exit >> status 5 >> dpkg - trying script from the new package instead ... >> dpkg: error processing ./mfcj615wlpr-1.1.1-1.i386.deb (--install): >> subprocess new post-removal script returned error exit status 5 >> dpkg: error while cleaning up: >> subprocess new post-removal script returned error exit status 5 >> Errors were encountered while processing: >> ./mfcj615wlpr-1.1.1-1.i386.deb >> --2011-12-22 00:00:49-- >> >> http://www.brother.com/pub/bsc/linux/dlf/mfcj615wcupswrapper-1.1.1-1.i386.deb >> Resolving www.brother.com... 82.71.193.234, 82.71.193.242 >> Connecting to www.brother.com|82.71.193.234|:80... connected. >> HTTP request sent, awaiting response... 302 Moved Temporarily >> Location: >> >> http://pub.brother.com/pub/com/bsc/linux/dlf/mfcj615wcupswrapper-1.1.1-1.i386.deb >> [following] >> --2011-12-22 00:00:50-- >> >> http://pub.brother.com/pub/com/bsc/linux/dlf/mfcj615wcupswrapper-1.1.1-1.i386.deb >> Resolving pub.brother.com... 82.71.193.240, 82.71.193.233 >> Connecting to pub.brother.com|82.71.193.240|:80... connected. >> HTTP request sent, awaiting response... 200 OK >> Length: 13548 (13K) [text/plain] >> Saving to: `mfcj615wcupswrapper-1.1.1-1.i386.deb' >> >> 100%[======================================>] 13,548 --.-K/s in >> 0.04s >> >> 2011-12-22 00:00:50 (316 KB/s) - `mfcj615wcupswrapper-1.1.1-1.i386.deb' >> saved [13548/13548] >> >> (Reading database ... 286276 files and directories currently installed.) >> Preparing to replace mfcj615wcupswrapper 1.1.1-1 (using >> .../mfcj615wcupswrapper-1.1.1-1.i386.deb) ... >> cups stop/waiting >> cups start/running, process 23389 >> Unpacking replacement mfcj615wcupswrapper ... >> dpkg: dependency problems prevent configuration of mfcj615wcupswrapper: >> mfcj615wcupswrapper depends on mfcj615wlpr; however: >> Package mfcj615wlpr is not installed. >> dpkg: error processing mfcj615wcupswrapper (--install): >> dependency problems - leaving unconfigured >> Errors were encountered while processing: >> mfcj615wcupswrapper >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> E: The package mfcj615wlpr needs to be reinstalled, but I can't find an >> archive for it. >> >> Can someone please help as Windows has screwed up AGAIN and I need to be >> able to print >> >> thanks >> >> Paul >> >> -- >> >> -- >> http://www.zleap.net >> >> Join the revolution, switch to Ubuntu http://www.ubuntu.com >> >> >> -- >> [email protected] >> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk >> https://wiki.ubuntu.com/UKTeam/ >> > > -- -- http://www.zleap.net Join the revolution, switch to Ubuntu http://www.ubuntu.com -- [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/
