Choose style:

Author Topic: Cannot install plank from official repo <SOLVED>  (Read 3269 times)

0 Members and 1 Guest are viewing this topic.

Offline bleakoutside

  • nOOb
  • *
  • Posts: 2
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4
Cannot install plank from official repo <SOLVED>
« on: May 07, 2014, 02:46:57 am »
Hi guys Ive been trying to install this dock application: http://wiki.go-docky.com/index.php?title=Plank:Installing

It is developed by the docky team but unlike docky it isnt in the default repos. Using the instructions provided I get the standard "E: Unable to locate package plank". Thinking it may be some variation on the original package name I trawled through synaptic for a bit but to no avail. I've tried several times and was quite careful to run "sudo apt-get update" after nabbing the repo. Any suggestions you guys might have would be greatly appreciated.   
« Last Edit: May 07, 2014, 08:37:34 pm by bleakoutside »

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25718
  • Karma: 2821
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Cannot install plank from official repo
« Reply #1 on: May 07, 2014, 10:12:57 am »
The following is for Peppermint FOUR .. If you're running Peppermint 3, STOP NOW and let me know.

OK, there's no version of Plank in the PPA:
https://launchpad.net/~ricotz/+archive/docky
for 13.04, so you can't just add the PPA

The following should work, and not create any problems .. but it's purely AT YOUR OWN RISK
(that said I've tested it in both 32bit and 64bit peppermint 4)

The version of plank for 12.10 works with an edit to libplank0 to change a dependency for libbamf3-0 to libbamf3-1 (as used in Peppermint 4/Ubuntu 13.04) .. but this then requires a symlink adding to point libbamf3.so.0 at the proper library
(libbamf3.so.0 doesn't exist in Peppermin4, so this shouldn't create any problems)

You're not actually installing any dependencies from an older version, so this should be safe .. it's also easy to uninstall if you choose to.

I've had to upload the edited packages to my dropbox, so they'll be downloaded from there during the following instructions .. DO NOT get the versions from the PPA, they will fail to install with an un-satisfiable dependency.

These instructions are for Peppermint 4 32bit ONLY (see below for 64bit)
To install, open a terminal and run these commands in sequence
Code: [Select]
sudo apt-get install bamfdaemon libbamf3-1 libgee-0.8-2
then:
Code: [Select]
mkdir ~/plank-packages
then:
Code: [Select]
cd ~/plank-packages
then:
Code: [Select]
wget https://dl.dropboxusercontent.com/u/11876059/plank-PM4-32bit.tar.gz
then:
Code: [Select]
tar xvf plank-PM4-32bit.tar.gz
then:
Code: [Select]
cd ~/plank-packages/plank-PM4-32bit
then:
Code: [Select]
sudo dpkg -i *.deb
then create a symlink linking libbamf3.so.0 to the newer libbamf3.so.1.0.0 with:
Code: [Select]
sudo ln -s /usr/lib/i386-linux-gnu/libbamf3.so.1.0.0 /usr/lib/i386-linux-gnu/libbamf3.so.0
Now fire up Plank from the
menu > Accessories > Plank
menu item.



These instructions are for Peppermint 4 64bit ONLY (see above for 32bit)
To install, open a terminal and run these commands in sequence
Code: [Select]
sudo apt-get install bamfdaemon libbamf3-1 libgee-0.8-2
then:
Code: [Select]
mkdir ~/plank-packages
then:
Code: [Select]
cd ~/plank-packages
then:
Code: [Select]
wget https://dl.dropboxusercontent.com/u/11876059/plank-PM4-64bit.tar.gz
then:
Code: [Select]
tar xvf plank-PM4-64bit.tar.gz
then:
Code: [Select]
cd ~/plank-packages/plank-PM4-64bit
then:
Code: [Select]
sudo dpkg -i *.deb
then create a symlink linking libbamf3.so.0 to the newer libbamf3.so.1.0.0 with:
Code: [Select]
sudo ln -s /usr/lib/x86_64-linux-gnu/libbamf3.so.1.0.0 /usr/lib/x86_64-linux-gnu/libbamf3.so.0
Now fire up Plank from the
menu > Accessories > Plank
menu item.



UNINSTALL INSTRUCTIONS

In both 32bit and 64bit:
Code: [Select]
sudo apt-get remove --purge plank libplank0 libplank-common
and you're done .. we've left the symlink behind as it'l do no harm, but if you REALLY want to get rid of it...

for 32bit:
Code: [Select]
cd /usr/lib/i386-linux-gnu
then
Code: [Select]
sudo rm -v libbamf3.so.0

for 64bit:
Code: [Select]
cd /usr/lib/x86_64-linux-gnu
then
Code: [Select]
sudo rm -v libbamf3.so.0
« Last Edit: May 07, 2014, 10:31:04 am by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline bleakoutside

  • nOOb
  • *
  • Posts: 2
  • Karma: 0
  • New Forum User
    • View Profile
  • Peppermint version(s): 4
Re: Cannot install plank from official repo
« Reply #2 on: May 07, 2014, 08:36:45 pm »
Thank you so much PCNetSpec, this did the trick. I'm sorry I forgot to specify that I was running peppermint 4 on 64 BIT architecture. Out of curiosity, will I still get updates for plank as they roll out from the default repo? Thanks again for taking the time to type that up.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 25718
  • Karma: 2821
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8R, 9, and 9R
Re: Cannot install plank from official repo <SOLVED>
« Reply #3 on: May 08, 2014, 07:14:06 am »
No, as the PPA doesn't contain a version for 13.04.

When Peppermint 5 comes out, it'll be MUCH easier to install plank .. and that WILL receive updates.
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec