Giter VIP home page Giter VIP logo

keepassxc-debian's Introduction

KeePassXC Debian Package

This repository contains the necessary files for building Debian binary packages of KeePassXC.

Update 23/3/2019

KeePassXC has been officially packaged and is part of Debian for quite some time now and thus this repository will stop receiving further updates. If you are running Testing (Buster) or Unstable (Sid), you can install KeePassXC by simply running sudo apt install keepassxc. If you are on Stretch which is the current Stable, you can install it from stretch-backports by running sudo apt install -t stretch-backports keepassxc. Make sure that the backports repository is enabled in your system before doing so.

Update 25/10/2017

The developers of KeePassXC now provide an official PPA for installing KeePassXC on Ubuntu! If you are an Ubuntu user I highly recommend switching to the PPA, so you will automatically receive updates every time there is a new version. The Ubuntu releases that are currently supported by the PPA are the 17.10, 17.04, 16.04 and 14.04.

Starting from the next upstream release, I will also stop providing binary packages for Ubuntu on this repository, to encourage the adoption of the official PPA. If you disagree with that decision though please open a new issue explaining your reasons.

Building Dependencies

First make sure that all four build-essential, debootstrap, devscripts and pbuilder packages are installed on your system, as they contain the necessary tools for building the package.

sudo apt-get update
sudo apt-get install build-essential debootstrap devscripts pbuilder

After the installation is complete you will need to configure pbuilder. To do so, you will first need to set the /var/cache/pbuilder/result directory writable by your user account and then create the directory /var/cache/pbuilder/hooks, which again needs to be writable by your user.

sudo chown <user>:<user> /var/cache/pbuilder/result
sudo mkdir /var/cache/pbuilder/hooks
sudo chown <user>:<user> /var/cache/pbuilder/hooks

Next, using your favorite text editor add the following lines in either your /etc/pbuilderrc or ~/.pbuilderrc after creating it.

AUTO_DEBSIGN=${AUTO_DEBSIGN:-no}
HOOKDIR=/var/cache/pbuilder/hooks

Finally, create a file named B90lintian inside your /var/cache/pbuilder/hooks directory with the following contents,

#!/bin/sh
set -e
install_packages() {
        apt-get -y --force-yes install "$@"
        }
install_packages lintian
echo "+++ lintian output +++"
su -c "lintian -i -I --show-overrides /tmp/buildd/*.changes" - pbuilder
# use this version if you don't want lintian to fail the build
#su -c "lintian -i -I --show-overrides /tmp/buildd/*.changes; :" - pbuilder
echo "+++ end of lintian output +++"

and make it executable,

chmod +x `/var/cache/pbuilder/hooks`

Building the Package

First, obtain a fresh copy of the source package using git clone.

git clone https://github.com/magkopian/keepassxc-debian.git

Next, cd into the keepassxc-debian directory and using the pbuilder program create a chroot environment of the target Debian release (e.g. unstable) that you want to build the package for.

cd keepassxc-debian
sudo pbuilder create --distribution <debian-release>
sudo pbuilder --update --distribution <debian-release>

Finally, using the dsc file build the package in the chroot environment you just created.

sudo pbuilder --build keepassxc_<version>.dsc

The newly built package will be located inside the /var/cache/pbuilder/result directory, owned by your user account.

Making Changes to the Package Sources

If you make changes to the package sources instead of using the previous pbuilder command for building the package, you will need to run pdebuild from the keepassxc-<version> directory.

cd keepassxc-<version>
pdebuild

The pdebuild program will generate the source package using the updated sources and also build the binary package for you.

keepassxc-debian's People

Contributors

florinandrei avatar magkopian avatar uli-heller avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

keepassxc-debian's Issues

Provide 32 bit .deb packages

How difficult would it be to provide 32 bit .deb packages?

Based on some quick reading I've done, it looks like it can be done with --architecture i386 arg to pbuilder --create.

Create repo

Pre-built binary packages are a convenient thing, thank you! However, could you offer a debian repo and/or PPA so updates can be installed through the normal automatisms of debian?

2.1.1 Update

2.1.1 was released yesterday. If you find the time, could you update the binaries? That would be fantastic.
Thanks!

Unable to install 2.2.0 deb on 14.04

Unable to install v2.2.0 of any amd64 deb package on Ubuntu 14.04, because keepassxc is removed after apt install -f. How to install v2.2.0 on 14.04 ?
Below tried to install 2.2.0-1_amd64_oldstable_jessie on 14.04

$ sudo dpkg -i keepassxc_2.2.0-1_amd64_oldstable_jessie.deb
Selecting previously unselected package keepassxc.
(Reading database ... 260405 files and directories currently installed.)
Preparing to unpack keepassxc_2.2.0-1_amd64_oldstable_jessie.deb ...
Unpacking keepassxc (2.2.0-1) ...
dpkg: dependency problems prevent configuration of keepassxc:
 keepassxc depends on libgcrypt20 (>= 1.6.1); however:
  Package libgcrypt20 is not installed.
 keepassxc depends on libqt5core5a (>= 5.3.0); however:
  Package libqt5core5a is not installed.
 keepassxc depends on libqt5dbus5 (>= 5.0.2); however:
  Package libqt5dbus5 is not installed.
 keepassxc depends on libqt5gui5 (>= 5.3.0); however:
  Package libqt5gui5 is not installed.
 keepassxc depends on libqt5network5 (>= 5.0.2); however:
  Package libqt5network5 is not installed.
 keepassxc depends on libqt5widgets5 (>= 5.2.0~rc1); however:
  Package libqt5widgets5 is not installed.
 keepassxc depends on libqt5x11extras5 (>= 5.1.0); however:
  Package libqt5x11extras5 is not installed.
 keepassxc depends on libykpers-1-1 (>= 1.12.0); however:
  Package libykpers-1-1 is not installed.

dpkg: error processing package keepassxc (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1.1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Errors were encountered while processing:
 keepassxc

$ sudo apt install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libgcrypt20 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5
  libqt5widgets5 libqt5x11extras5 libxcb-icccm4 libxcb-image0
  libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0 libykpers-1-1 libyubikey0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libgcrypt20 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5
  libqt5widgets5 libqt5x11extras5 libxcb-icccm4 libxcb-image0
  libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0 libykpers-1-1 libyubikey0
Suggested packages:
  rng-tools
The following packages will be REMOVED
  keepassxc
The following NEW packages will be installed
  libgcrypt20 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5
  libqt5widgets5 libqt5x11extras5 libxcb-icccm4 libxcb-image0
  libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0 libykpers-1-1 libyubikey0
0 to upgrade, 14 to newly install, 1 to remove and 0 not to upgrade.
1 not fully installed or removed.
Need to get 6 948 kB of archives.
After this operation, 15,5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/universe libgcrypt20 amd64 1.6.1-2ubuntu1.14.04.1 [330 kB]
Get:2 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt5core5a amd64 5.2.1+dfsg-1ubuntu14.3 [1 748 kB]
Get:3 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt5dbus5 amd64 5.2.1+dfsg-1ubuntu14.3 [176 kB]
Get:4 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libxcb-icccm4 amd64 0.4.1-1ubuntu1 [10,4 kB]
Get:5 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libxcb-image0 amd64 0.3.9-1ubuntu2 [11,5 kB]
Get:6 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libxcb-render-util0 amd64 0.3.8-1.1ubuntu1 [8 702 B]
Get:7 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libxcb-xkb1 amd64 1.10-2ubuntu1 [28,4 kB]
Get:8 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libxkbcommon-x11-0 amd64 0.4.1-0ubuntu1 [13,6 kB]
Get:9 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt5gui5 amd64 5.2.1+dfsg-1ubuntu14.3 [1 857 kB]
Get:10 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt5network5 amd64 5.2.1+dfsg-1ubuntu14.3 [502 kB]
Get:11 http://fr.archive.ubuntu.com/ubuntu/ trusty-updates/main libqt5widgets5 amd64 5.2.1+dfsg-1ubuntu14.3 [2 216 kB]
Get:12 http://fr.archive.ubuntu.com/ubuntu/ trusty/main libqt5x11extras5 amd64 5.2.1-1 [7 676 B]
Get:13 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libyubikey0 amd64 1.10-1 [7 010 B]
Get:14 http://fr.archive.ubuntu.com/ubuntu/ trusty/universe libykpers-1-1 amd64 1.14.1-1 [32,4 kB]
Fetched 6 948 kB in 0s (10,7 MB/s)         
(Reading database ... 260677 files and directories currently installed.)
Removing keepassxc (2.2.0-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1.1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Selecting previously unselected package libgcrypt20:amd64.
(Reading database ... 260405 files and directories currently installed.)
Preparing to unpack .../libgcrypt20_1.6.1-2ubuntu1.14.04.1_amd64.deb ...
Unpacking libgcrypt20:amd64 (1.6.1-2ubuntu1.14.04.1) ...
Selecting previously unselected package libqt5core5a:amd64.
Preparing to unpack .../libqt5core5a_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking libqt5core5a:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package libqt5dbus5:amd64.
Preparing to unpack .../libqt5dbus5_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking libqt5dbus5:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package libxcb-icccm4:amd64.
Preparing to unpack .../libxcb-icccm4_0.4.1-1ubuntu1_amd64.deb ...
Unpacking libxcb-icccm4:amd64 (0.4.1-1ubuntu1) ...
Selecting previously unselected package libxcb-image0:amd64.
Preparing to unpack .../libxcb-image0_0.3.9-1ubuntu2_amd64.deb ...
Unpacking libxcb-image0:amd64 (0.3.9-1ubuntu2) ...
Selecting previously unselected package libxcb-render-util0:amd64.
Preparing to unpack .../libxcb-render-util0_0.3.8-1.1ubuntu1_amd64.deb ...
Unpacking libxcb-render-util0:amd64 (0.3.8-1.1ubuntu1) ...
Selecting previously unselected package libxcb-xkb1:amd64.
Preparing to unpack .../libxcb-xkb1_1.10-2ubuntu1_amd64.deb ...
Unpacking libxcb-xkb1:amd64 (1.10-2ubuntu1) ...
Selecting previously unselected package libxkbcommon-x11-0:amd64.
Preparing to unpack .../libxkbcommon-x11-0_0.4.1-0ubuntu1_amd64.deb ...
Unpacking libxkbcommon-x11-0:amd64 (0.4.1-0ubuntu1) ...
Selecting previously unselected package libqt5gui5:amd64.
Preparing to unpack .../libqt5gui5_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking libqt5gui5:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package libqt5network5:amd64.
Preparing to unpack .../libqt5network5_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking libqt5network5:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package libqt5widgets5:amd64.
Preparing to unpack .../libqt5widgets5_5.2.1+dfsg-1ubuntu14.3_amd64.deb ...
Unpacking libqt5widgets5:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Selecting previously unselected package libqt5x11extras5:amd64.
Preparing to unpack .../libqt5x11extras5_5.2.1-1_amd64.deb ...
Unpacking libqt5x11extras5:amd64 (5.2.1-1) ...
Selecting previously unselected package libyubikey0.
Preparing to unpack .../libyubikey0_1.10-1_amd64.deb ...
Unpacking libyubikey0 (1.10-1) ...
Selecting previously unselected package libykpers-1-1:amd64.
Preparing to unpack .../libykpers-1-1_1.14.1-1_amd64.deb ...
Unpacking libykpers-1-1:amd64 (1.14.1-1) ...
Setting up libgcrypt20:amd64 (1.6.1-2ubuntu1.14.04.1) ...
Setting up libqt5core5a:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Setting up libqt5dbus5:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Setting up libxcb-icccm4:amd64 (0.4.1-1ubuntu1) ...
Setting up libxcb-image0:amd64 (0.3.9-1ubuntu2) ...
Setting up libxcb-render-util0:amd64 (0.3.8-1.1ubuntu1) ...
Setting up libxcb-xkb1:amd64 (1.10-2ubuntu1) ...
Setting up libxkbcommon-x11-0:amd64 (0.4.1-0ubuntu1) ...
Setting up libqt5gui5:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Setting up libqt5network5:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Setting up libqt5widgets5:amd64 (5.2.1+dfsg-1ubuntu14.3) ...
Setting up libqt5x11extras5:amd64 (5.2.1-1) ...
Setting up libyubikey0 (1.10-1) ...
Setting up libykpers-1-1:amd64 (1.14.1-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.13) ...

$ sudo dpkg -i keepassxc_2.2.0-1_amd64_oldstable_jessie.deb
Selecting previously unselected package keepassxc.
(Reading database ... 260535 files and directories currently installed.)
Preparing to unpack keepassxc_2.2.0-1_amd64_oldstable_jessie.deb ...
Unpacking keepassxc (2.2.0-1) ...
dpkg: dependency problems prevent configuration of keepassxc:
 keepassxc depends on libqt5core5a (>= 5.3.0); however:
  Version of libqt5core5a:amd64 on system is 5.2.1+dfsg-1ubuntu14.3.
 keepassxc depends on libqt5gui5 (>= 5.3.0); however:
  Version of libqt5gui5:amd64 on system is 5.2.1+dfsg-1ubuntu14.3.

dpkg: error processing package keepassxc (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1.1) ...
Processing triggers for mime-support (3.54ubuntu1.1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Errors were encountered while processing:
 keepassxc

Please support old-stable.

Hello,

First Thank You very much for creating these KeePassXC packages. Some of us wait a long time, before moving to the new stable[about a year in my case]. Would appreciate creating old-stable packages for as long as old-stable is officially supported; a year. For newer KeePassXC releases, since keepassxc_2.1.4-1_amd64_stable.deb installs fine in old-stable.

Thank You and Be Well

Version Naming

The names should use the actual distro release name like "jessie" etc. - "testing" is something different today than it was a few months ago, so the current naming scheme is not good.

Download favicon does not work in a proxy environment

Clicking the 'Download favicon' throws an error message (Unable to fetch favicon) when a proxy server is required to access the URL of an entry. The same entry does work perfectly in an environment where no proxy is required.

Debian 32 bit build failed

Hi,
I could not run this on a debian 32 bit machine, I downloaded this filekeepassxc_2.3.3-1_i386_stable_stretch.deb , I attempted to make it work several times but no chance. Which depedencies I need to install for this?

Repository

Please, provide KeepassXC in the Ubuntu repository, or Debian repository, or at least through a PPA on Launchpad. This flavor of Keepass is the only one to be native app and often up to date release for Linux.

Keepassxc 2.2.0 does not install on mint18.2

The Release notes suggestion does not work: sudo apt install -f, actually removes keepassxc

Because this new version of KeePassXC introduces new package dependencies, you may get some dependency errors after installing the package with dpkg. In case that happens, simply run an apt install -f as root, and it should install any missing dependencies.

Log:

$ dpkg -i keepassxc_2.2.0-1_amd64_stable_stretch.deb 
dpkg: error: requested operation requires superuser privilege
$ sudo dpkg -i keepassxc_2.2.0-1_amd64_stable_stretch.deb 
[sudo] password for romke: 
(Reading database ... 359902 files and directories currently installed.)
Preparing to unpack keepassxc_2.2.0-1_amd64_stable_stretch.deb ...
Unpacking keepassxc (2.2.0-1) over (2.1.4-1) ...
dpkg: dependency problems prevent configuration of keepassxc:
 keepassxc depends on libgcrypt20 (>= 1.7.0); however:
  Version of libgcrypt20:amd64 on system is 1.6.5-2ubuntu0.3.
 keepassxc depends on libqt5core5a (>= 5.7.0); however:
  Version of libqt5core5a:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
 keepassxc depends on libqt5gui5 (>= 5.7.0); however:
  Version of libqt5gui5:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
 keepassxc depends on libqt5widgets5 (>= 5.6.0~beta); however:
  Version of libqt5widgets5:amd64 on system is 5.5.1+dfsg-16ubuntu7.5.
 keepassxc depends on libqt5x11extras5 (>= 5.6.0); however:
  Version of libqt5x11extras5:amd64 on system is 5.5.1-3build1.
 keepassxc depends on libykpers-1-1 (>= 1.12.0); however:
  Package libykpers-1-1 is not installed.

dpkg: error processing package keepassxc (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils (0.22+linuxmint1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for shared-mime-info (1.5-2ubuntu0.1) ...
Errors were encountered while processing:
 keepassxc
$ sudo apt install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  keepassxc
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 8357 kB disk space will be freed.
Do you want to continue? [Y/n]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.