bookworm
bookworm copied to clipboard
Bookworm as Snap : ubuntu installation
installation on ubuntu with ppa throwing below output:
The following packages have unmet dependencies: bookworm : Depends: libgranite3 (>= 0.2.0) but it is not installable E: Unable to correct problems, you have held broken packages.
@muralikodali Can you let me know which version of Ubuntu are you trying to install on...on my VMs and on launchpad it should install fine on Xenial and Zesty...Artful has libgranite missing
It is Ubuntu Mate 16.04
On 14-Aug-2017 2:55 am, "Siddhartha Das" [email protected] wrote:
@muralikodali https://github.com/muralikodali Can you let me know which version of Ubuntu are you trying to install on...on my VMs and on launchpad it should install fine on Xenial and Zesty...Artful has libgranite missing
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/babluboy/bookworm/issues/112#issuecomment-322068524, or mute the thread https://github.com/notifications/unsubscribe-auth/AK82jqdnYKZciwHCwJz-GKfV11Yi3bO-ks5sX2nbgaJpZM4O1oGc .
I'm having the same issue on Xubuntu 16.04
Have not tried installing on Mate 16.04 and Xubuntu 16.04, but looks like libgranite is an issue. Can you please try installing libgranite and other dependencies and build from source? The instructions are here: https://github.com/babluboy/bookworm#how-to-build-bookworm
Hopefully the package names are the same in Mate and Xubuntu. Someone has put up the instructions on how to build on Fedora here: https://www.reddit.com/r/linux/comments/69qwdk/why_dont_more_linux_distros_support_elementary_app/
Let me know how it goes...otherwise you can wait a bit until I get around to create a AppImage and Snap for Bookworm, then it will be cross distro...
Same issue for another elementary app, see here for the suggested resolution: https://github.com/needle-and-thread/vocal/issues/12
Found another resolution at the following link: https://askubuntu.com/questions/682828/i-cant-install-pantheon-greeter-in-ubuntu-14-04
sudo add-apt-repository ppa:elementary-os/daily
sudo add-apt-repository ppa:elementary-os/os-patches
sudo apt-get update
The above will install libgranite, you can then try and install bookworm:
sudo add-apt-repository ppa:bookworm-team/bookworm
sudo apt-get update
sudo apt-get install bookworm
And remove the elementary PPAs after the install suceeds.
Just snapped bookworm ! Its available on the edge channel at the moment. you can try and install the same with the snap command:
sudo snap install bookworm --channel=edge
Feedback appreciated
on* ubuntu mate 16.04*, i have got following errors when i tried to run snap
$ snap run bookworm
[INFO 10:43:39.434394] Application.vala:153: Bookworm version: 0.9.1 [INFO 10:43:39.434426] Application.vala:155: Kernel version: 4.4.0-91-generic Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.676" is not allowed to own the service "com.github.babluboy.bookworm" due to AppArmor policy
when run as root user;
$
sudo snap run bookwormmkdir: cannot create directory '/run/user/0': Permission denied [INFO 10:43:55.383938] Application.vala:153: Bookworm version: 0.9.1 [INFO 10:43:55.383968] Application.vala:155: Kernel version: 4.4.0-91-generic No protocol specified Failed to connect to Mir: Failed to connect to server socket: No such file or directory Unable to init server: Could not connect: Connection refused [WARNING 10:43:55.385159] [Gtk] cannot open display: :0.0
On 16 August 2017 at 10:30, Siddhartha Das [email protected] wrote:
Just snapped bookworm ! Its available on the edge channel at the moment. you can try and install the same with the snap command: sudo snap install bookworm --channel=edge Feedback appreciated
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/babluboy/bookworm/issues/112#issuecomment-322666797, or mute the thread https://github.com/notifications/unsubscribe-auth/AK82jpxilyUtKz1cP6kVvOQSTHIfib6Yks5sYndvgaJpZM4O1oGc .
-- Regards, Murali Kodali
Looks like some more work is needed to add a plug for dbus. I got some errors for gsettings on eOS...hopefully that should resolve...will update when I try that fix later in the evening...
Finally managed to get the snap working with:
sudo snap install --dangerous bookworm_0.9_amd64.snap --devmode
Just pushed and release the latest version to the store.
However, it is not able to access /usr/share/bookworm/ where bookworm stores all its icons, scripts, etc - so the app is not working at the moment. Not sure how to fix that at the moment.
Is there any resolution to this? Can't install on regular Ubuntu 16.04 as well.
@navjotjsingh If you are installing on Ubuntu 16.04, then the ppa should work, let me know for any issues.
sudo add-apt-repository ppa:bookworm-team/bookworm
sudo apt-get update
sudo apt-get install bookworm
If the above PPA installation is giving issues, then can you install the elementary ppa and then try to install the bookworm ppa:
sudo add-apt-repository ppa:elementary-os/daily
sudo add-apt-repository ppa:elementary-os/os-patches
sudo add-apt-repository ppa:bookworm-team/bookworm
sudo apt-get update
sudo apt-get install bookworm
I will take a look at snap when I return from vacation in the new year...there are a number of improvements I did to make Bookworm work correctly on Flatpak, so hopefully I might have fixed the same issues for snap....
If you want to install as a Flatpak application, you can find the installation instructions here: https://babluboy.github.io/bookworm
the ppa's don't seem to have an up to date version of bookworm. how long does it take to for them to get it
https://launchpad.net/~bookworm-team/+archive/ubuntu/bookworm
bookworm | 0.6-0~42~ubuntu17.10.1 | Siddhartha Das (2017-10-25) |
---|---|---|
bookworm | 0.6-0~42~ubuntu17.04.1 | Siddhartha Das (2017-08-03) |
bookworm | 0.6-0~42~ubuntu16.04.1 | Siddhartha Das (2017-08-03) |
bookworm | 0.6-0~42~ubuntu15.04.1 | Siddhartha Das (2017-08-03) |
bookworm | 0.6-0~40~ubuntu16.10.1 | Siddhartha Das (2017-06-19) |
Usually I update on the same day, however this time elementary OS Appcenter required the package to be changed to the RDNN (com.github.babluboy.bookworm). I was trying to maintain the executable as bookworm on the PPA but will need to change that from this release.
Also, instead of maintaining the code separately on Launchpad, I will use the GitHub branch on launchpad to build the code. That will make it more easier for me to build and keep the PPA updated.
will report back in a couple of days when the PPA has been updated with the last release.
@arooni I have now got the PPA (Bionic, Artful and Xenial) updated with the latest code from GitHub...however the package name is now com.github.babluboy.bookworm...so I guess the commands to install will be (after removing the existing bookworm installation):
sudo add-apt-repository ppa:bookworm-team/bookworm
sudo apt-get update
sudo apt-get install com.github.babluboy.bookworm
Will be great if you can give it a shot, I need to build a Ubuntu Xenial VM to test the same.
@babluboy thanks for the quick update!
I was able to upgrade just fine, though I think I had to uninstall the bookworm package first. Or it might be because it was open the first time I tried to install your updated ppa's package.
[I] ~ sudo apt-get install com.github.babluboy.bookworm
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-4.10.0-38 linux-headers-4.10.0-38-generic linux-headers-4.10.0-40 linux-headers-4.10.0-40-generic linux-image-4.10.0-38-generic linux-image-4.10.0-40-generic linux-image-extra-4.10.0-38-generic linux-image-extra-4.10.0-40-generic linux-image-extra-4.4.0-101-generic linux-image-extra-4.4.0-104-generic Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: com.github.babluboy.bookworm 0 upgraded, 1 newly installed, 0 to remove and 12 not upgraded. Need to get 0 B/225 kB of archives. After this operation, 3,920 kB of additional disk space will be used. (Reading database ... 665620 files and directories currently installed.) Preparing to unpack .../com.github.babluboy.bookworm_0.6-0~201801121751~ubuntu0.4.1.1_amd64.deb ... Unpacking com.github.babluboy.bookworm (0.6-0~201801121751~ubuntu0.4.1.1) ... Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ... Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ... Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ... Rebuilding /usr/share/applications/bamf-2.index... Processing triggers for mime-support (3.59ubuntu1) ... Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ... Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ... Processing triggers for libglib2.0-0:i386 (2.48.2-0ubuntu1) ... Setting up com.github.babluboy.bookworm (0.6-0~201801121751~ubuntu0.4.1.1) ...
Still the same problem
$ sudo add-apt-repository ppa:bookworm-team/bookworm && sudo apt-get update && sudo apt-get install com.github.babluboy.bookworm
(...)
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:
com.github.babluboy.bookworm : Depends: libgranite4 (>= 0.4.1) but it is not installable
E: Unable to correct problems, you have held broken packages.
$ uname -a
Linux lrkwz-Precision-SSD-M4500 4.13.0-32-generic #35~16.04.1-Ubuntu SMP Thu Jan 25 10:13:43
UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
$ gnome-shell --version
GNOME Shell 3.18.5
@lrkwz Try adding the elementary PPA:
sudo add-apt-repository ppa:elementary-os/stable
sudo apt-get update
sudo apt-get install com.github.babluboy.bookworm
And then after bookworm is installed, remove the elementary PPA
@muralikodali Snapped the latest v1.0.0 Bookworm and published to the Snap store: https://snapcraft.io/bookworm
Will be great if you can test the same and probably attach a screen shot of how it looks as a snap application on Ubuntu.
Well not really nice indeed
$ snap list bookworm
Name Version Rev Developer Notes
bookworm 1.0.0 3 babluboy -
$ which bookworm
/snap/bin/bookworm
$ bookworm
[INFO 18:36:28.280692] Application.vala:154: Bookworm version: (null)
[INFO 18:36:28.280777] Application.vala:156: Kernel version: 4.13.0-32-generic
[WARNING 18:36:28.281071] [Gtk] Locale not supported by C library. Using the fallback 'C' locale.
Failed to register: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Connection ":1.177" is not allowed to own the service "com.github.babluboy.bookworm" due to AppArmor policy
@lrkwz Many thanks. I looked up the issue and people have suggested the resolution as well. Will spin up a VM and then reproduce the issue and see if I can resolve it.
Ok fantastic. Using the elementary-os PPA works.
What's updated more frequently? The snap installation or the ppa (deb files)?
@arooni For the stable releases I push to Appcenter, Flatpak, stable PPA (and hopefully snap after I resolve current issues) within a day. For the daily builds which are frequent the daily PPA and the GH master are the ones which are updated
Hey @babluboy , how is the status of the Snap package nowadays? Is it abandoned?
@ivocavalcante I haven’t had a look at Snap for a long time. Maybe when I push the next release to Appcenter and PPA, I will take a look at snap to see what’s working and what’s not...