kimono-koans / httm

Interactive, file-level Time Machine-like tool for ZFS/btrfs/nilfs2 (and even Time Machine and Restic backups!)
https://crates.io/crates/httm
Mozilla Public License 2.0
1.33k stars 28 forks source link

Installation instructions for Debian 11? #29

Closed ovizii closed 2 years ago

ovizii commented 2 years ago

Hi there,

I just found this project, saw the .deb files and gave it a try:

dpkg -i httm_0.10.10_amd64.deb                                                                                                           
Selecting previously unselected package httm.                                                                                                        
(Reading database ... 96445 files and directories currently installed.)                                                                              
Preparing to unpack httm_0.10.10_amd64.deb ...                                                                                                       
Unpacking httm (0.10.10) ...                                                                                                                         
dpkg: dependency problems prevent configuration of httm:                                                                                             
 httm depends on libc6 (>= 2.34); however:                                                                                                           
  Version of libc6:amd64 on system is 2.31-13+deb11u3.                                                                                               

dpkg: error processing package httm (--install):                                                                                                     
 dependency problems - leaving unconfigured                                                                                                          
Processing triggers for man-db (2.9.4-2) ...                                                                                                         
Errors were encountered while processing:                                                                                                            
 httm                                                   
apt-cache policy libc6                                                                                                                   
libc6:                                                                                                                                               
  Installed: 2.31-13+deb11u3                                                                                                                         
  Candidate: 2.31-13+deb11u3                                                                                                                         
  Version table:                                                                                                                                     
 *** 2.31-13+deb11u3 500                                                                                                                             
        500 http://ftp.de.debian.org/debian bullseye/main amd64 Packages                                                                             
        100 /var/lib/dpkg/status  

Does this mean it will only work on Ubuntu and not Debian 11?

kimono-koans commented 2 years ago

Glad you're giving it a shot and appreciate you filing an issue!

Does this mean it will only work on Ubuntu and not Debian 11?

I'm afraid Debian likes to stick with older versions of glibc than Ubuntu. Your error only means my tagged package will only work with a glibc greater than or equal to 2.34.

So, what are your options? Instructions on how to build your own Debian package can be found here. You may instead wish to build from source.

Debian 11 probably supports building using that system's glibc (perhaps try apt install cargo first?), but if it does not (for instance, Debian 10 doesn't) you can use musl to build using the instructions found here.

Good luck!

ovizii commented 2 years ago

Oh, I see, I had only read the first part and then went straight to the tagged release :-( my bad.

For Debian-based and Redhat-based Linux distributions (like, Ubuntu or Fedora, etc.), check the [tagged releases](https://github.com/kimono-koans/httm/tags) for native packages for your distribution.

Sorry about that. I'll give it a try with your instructions.