Re: missing development package?

2024-03-04 Thread thyme after thyme
On 2024-03-04 10:48, to...@tuxteam.de wrote:

> That's right: in your /etc/apt/sources.list (or in some file
> under .../sources.list.d/ at your preference) there must be
> a way for your installer to find the sources. Something akin
> to:
> 
>   deb-src http://ftp.de.debian.org/debian/ bullseye-updates main contrib 
> non-free

I'm on bookworm. Pasting my current sources below. Is something missing?

/e/a/sources.list.d $ for f in *; echo "*  $f"; cat "$f"; echo ""; end
*  debian-stable-updates.list
# Debian Updates
deb http://deb.debian.org/debian bookworm-updates main contrib non-free
non-free-firmware

*  debian.list
# Debian Stable.
deb http://deb.debian.org/debian bookworm main contrib non-free
non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main
contrib non-free non-free-firmware
#deb-src http://deb.debian.org/debian bookworm main contrib non-free
non-free-firmware

#debian backports
#deb http://deb.debian.org/debian bookworm-backports main contrib
non-free non-free-firmware

*  mx.list
# MX Community Main and Test Repos
deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/ bookworm
main non-free
#deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/testrepo/
bookworm test

#ahs hardware stack repo
#deb http://ftp.halifax.rwth-aachen.de/mxlinux/packages/mx/repo/
bookworm ahs

> Note that Debian might have some patches to make the package
> buildable in Debian context; so installing Debian's build
> deps is just an approximation.
> 
> If I were you, I'd first install the Debian src package and
> its build deps, build that, and work on from there.

How do I find the src package? You mean of xfce4-screensaver? This is
all I can find:

$ apt search xfce4-screensaver
Sorting... Done
Full Text Search... Done
xfce4-screensaver/mx,now 4.18.2-0.1~mx23+1 amd64 [installed]
  screen saver and locker that is integrated with the xfce4 desktop



Re: missing development package?

2024-03-04 Thread thyme after thyme
Hi t,

thanks very much for the help. Responses below:

On 2024-03-04 10:05, to...@tuxteam.de wrote:
> There's an automatic way to do this: install the build
> dependencies:
> 
>   sudo apt-get install build-dep 

I get an error:

~ $ sudo apt-get install build-dep xfce4-screensaver
[sudo] password for m:   
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package build-dep
~ [100] $

The man page tells me the syntax is actually apt-get build-dep [pkg],
not apt-get install build-dep [pkg]. That gets me to here:

~ $ sudo apt-get build-dep xfce4-screensaver
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list
~ [100] $ 


> This might be due to package "build-essential" missing (which, I
> think, would have come with "install build-dep"). But not quite
> sure about that. I guess build-essential won't be listed as an
> explicit build dependency.

I have it installed:

$ apt search build-essential 
Sorting... Done
Full Text Search... Done
build-essential/stable,now 12.9 amd64 [installed]
  Informational list of build-essential packages


> 
> Are you building xfce4-screensaver from the Debian package source,
> or from upstream?

>From git master at the aforelinked gitlab repo.



missing development package?

2024-03-04 Thread thyme after thyme
Hello everyone,

I'm not a developer, but I'm trying to build xfce4-screensaver and
suspect I may be missing a development package.

I've sudo apt-get installed everything on this list:
https://salsa.debian.org/xfce-extras-team/xfce4-screensaver/blob/debian/master/debian/control#L6

When I try to configure xfce4-screensaver for building, this is what I
see:

/m/h/m/.l/g/xfce4-screensaver (master|✔) $ ./autogen.sh --prefix=/usr
--sysconfdir=/etc
(...)
autoreconf: configure.ac: not using Libtool
autoreconf: running: intltoolize --copy --force
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
savers/Makefile.am:53: error: library used but 'RANLIB' is undefined
savers/Makefile.am:53:   The usual way to define 'RANLIB' is to add
'AC_PROG_RANLIB'
savers/Makefile.am:53:   to 'configure.ac' and run 'autoconf' again.
autoreconf: error: automake failed with exit status: 1

The xfce4-screensaver dev tells me that the issue may be a missing
dependency, but as they're not on Debian, they can't help me. 
https://gitlab.xfce.org/apps/xfce4-screensaver/-/issues/138#note_85344

Can any of you?

Best,
t.h.



Re: partition appears to be mounted, but not according to umount or lsblk

2023-01-20 Thread thyme after thyme


Charles and tomas, you were both right in your guesses. Thanks a billion
for the help!



partition appears to be mounted, but not according to umount or lsblk

2023-01-19 Thread thyme after thyme
Hello lovely debianizers,

My Debian 10 machine has two physical disks, sda and sdb. The
(encrypted) root filesystem is on sdb, meanwhile I’ve used
fstab/crypttab to mount an (encrypted) partition on sda to
/mnt/data01-hdd, where I’ve stored some stuff:

user@hostname:/$ ls -gh /mnt/data01-hdd/
total 4.0K
drwxr-xr-x 5 1007 4.0K Jan  1 23:02 backups

However, when i do
user@hostname:/$ sudo umount /mnt/data01-hdd

umount complains thus:
umount: /mnt/data01-hdd: not mounted.

How can I unmount the partition?

lsblk -f doesn’t show the partition as mounted, which is something that
I don’t understand:

user@hostname:~$ sudo lsblk -f
NAME FSTYPE  LABEL UUID 
 FSAVAIL FSUSE% MOUNTPOINT  
  
sda
└─sda1   crypto_LUKS  
400a161c-0654-4596-9b1c-3900ef504cb5
  └─sda1_crypt   LVM2_member  
6I1ePw-7IuN-DQqN-02rs-vDgM-e3Nh-DUkfK0
└─1Terabyte01--vg-data01 ext4 
900e8322-5af6-4ecd-827d-fae54f21e4f3
sdb
├─sdb1   ext2 
0791c90e-8567-48c9-90a8-67c7c6619359359.1M18% /boot 

├─sdb2
└─sdb5   crypto_LUKS  
2b5a5240-9d34-42af-958a-a2a4509382d8
  └─sdb5_crypt   LVM2_member  
q9xOdL-yo0s-CDK9-eYiV-0uya-sX7o-WIvPZH
├─debian--vg-rootext4 
4248fdef-e86c-456a-8fc7-2a4ec5b1b0df195.7G52% / 

└─debian--vg-swap_1  swap 
5cc35d37-c746-4bc5-9d00-f437061f6cc8  [SWAP]

The configuration files:

user@hostname:/$ cat /etc/fstab
# /etc/fstab: static file system information.
#
   
/dev/mapper/debian--vg-root   /   ext4   
errors=remount-ro 0   1
# /boot was on /dev/sdb1 during installation
UUID=0791c90e-8567-48c9-90a8-67c7c6619359 /boot   ext2   
defaults  0   2
/dev/mapper/debian--vg-swap_1 noneswapsw
   0   0

# 1000gb hdd via its LVM, cf. also /etc/crypttab
#/dev/mapper/1Terabyte01--vg-data01/mnt/data01-hdd ext4   
default


user@hostname:/$ cat /etc/crypttab
# sdb5 - debian 10 / yunohost on 500Gb HDD
# Tell cryptsetup to create the volume sdb5_crypt from /dev/sdb5
(identified
# by its UUID). Don't use a key file. Since this is the root device, it
will
# automatically be processed during the initramfs stage of boot (making
it
# accessible to dropbear).
#
sdb5_crypt UUID=2b5a5240-9d34-42af-958a-a2a4509382d8 none luks,discard

# sda1 - data on 1000Gb HDD
# Tell cryptsetup to create the volume sda1_crypt from /dev/sda1
(identified
# by its UUID) using the sda1.luks key. Since this is not a root device,
we 
# explicitly require that the device be processed during the initramfs
stage.
#
sda1_crypt UUID=400a161c-0654-4596-9b1c-3900ef504cb5 /etc/keys/sda1.luks
luks,initramfs

I’d much apreciate your guidance!

Thyme Harp