You are not logged in.
How does it not work? Did you get an error message? Please post the contents of /etc/apt/sources.list
You should get something like this when you run that command:
# apt-get -t jessie-security install policykit-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0
The following packages will be upgraded:
libpolkit-agent-1-0 libpolkit-backend-1-0 libpolkit-gobject-1-0 policykit-1
4 upgraded, 0 newly installed, 0 to remove and 354 not upgraded.
Need to get 173 kB of archives.
After this operation, 298 kB disk space will be freed.
Do you want to continue? [Y/n]This looks odd.
gksudo synaptic-pkexec
You can start synaptic with gksudo or pkexec. No need to use both.
gksudo synaptic
or
synaptic-pkexec
Thanks. Any help sorting this out is appreciated. I would include firmware-realtek firmware-ti-connectivity with the wireless firmware. (My laptop uses the former.) Also, in beowulf, firmware-ralink is back. It was included in firmware-realtek for stretch/ascii.
I think the intelwimax is for some older wireless cards. Looks like intel no longer supports it -
https://www.intel.com/content/www/us/en … -5150.html
Are you sure you need one? At what point in the installation is it asking for a driver, and what does the message say?
Did you choose expert or regular install?
One way to do it is to save the package list in a file, then use that list on a new system to get the same installed packages. Check 'man dpkg' before you do this.
On the old system:
dpkg --get-selections > package_listOn the new system:
dpkg --set-selections < package_listAnother way is to run refractasnapshot in a root terminal and make a bootable live-iso copy of your current system (installed packages and configs) and use that to install on other computers. This is my preferred method.
apt-listchanges is informative. In my experience, it's not very useful in the stable distribution, but can be very helpful when you're running the testing version. I don't recall why I included it. Maybe it's there from when ascii was still in testing.
bash ignores lines that start with # but in this it causes the command on the line before it to be terminated instead of continued to the next line.
Do you mean a firmware will not get installed if my hardware does not require it?
Correct
Oh, now I see the problem. Commenting out lines like that doesn't work in bash. It does work in zsh (I do that in the config file in live-sdk.) I guess you'd need to remove those two lines entirely.
Non-free firmware is in the installer isos, but you won't find those packages in the installed system. They don't get copied (neither does the rest of what's under /pool.) If your hardware requires a firmware package, it will get automatically installed in the regular install, and if you choose expert install and use a mirror, you will be asked about non-free firmware.
'aptitude search <some-nonfree-firmware-package>' should give you results only if you have non-free repos enabled in sources.list. It works in the live iso because those packages are installed. (I think that's what's going on here.)
You're right - I did not include the firmware-amd-graphics package in the /firmware directory, but it is installed. I only included the wireless firmware using the logic that you would only need that to get a connection, then you could get anything else. Also, that /firmware directory is in the root of the live filesystem, not in the root of the iso like it is in the installer isos.
dpkg -l | grep firmware will list all installed packages with 'firmware' in the name.
aptitude search ~ifirmware will do the same.
locate firmware will list all files on the system with 'firmware' in the name. (assuming you have a locate package installed and updatedb has run at least once since the system was installed.)
find / -name "firmware*" will find all files that start with 'firmware'. (you'll need to be root for this one.)
okay, i downloaded a fresh copy of "devuan_ascii_2.0.0_amd64_desktop-live.iso" and checked the sha256sum. i then burned it onto a USB stick and booted the live system. i then opened a browser and found there was no internet connection. i ran wicd and it found no networks, even though my phone was supporting a wifi hotspot. i tried issuing the command to list devices but couldn't remember it. the screenshot should show that, if i can figure out how to include it in this post.
nope, no joy; the img tag requires a url and i'm done dicking around with it. this crap is why i'm looking at leaving linux.
Check wicd preferences to make sure the defualt wireless device is set to the correct device. You can see what the device is called if you run ip a or /sbin/ifconfig. You'll find the preferences in a drop-down in wicd's menu bar. (it the triangle/arrow in the upper right of the window.)
Easiest way to include a link in a post is to hightlight the link in your browser's address bar, right-click and copy, then right-click and paste it into your post. No tags needed.
interesting and kind of funky: in https://files.devuan.org/devuan_ascii/d … README.txt it says this,
"If your hardware needs a 32-bit uefi bootloader with a 64-bit operating
system, install the grub-efi-ia32 package before running the installer."LOL, you're supposed to install something *where* before you run the installer to install the system?
Yah, okay, moving right along <g>
Easiest place to install it would be in the running system. Just open a terminal and run sudo dpkg -i /grub-efi-ia32* Less easy would be to install the system to hard drive first and then chroot into the installed system to install grub, but even that isn't too difficult because the installer will allow you to do that.
I get "503 Service Unavailable" on your links. Any commented lines in the removal script will be ignored, and those commented packages will not be removed. Everything else should be removed.
I'm not sure what you mean. It's not the exact same list of firmware, but many are the same. Here's what's in the installer isos (this is from a mounted netinstall iso). These are actually symlinks to the packages, which are under /pool.
$ ls mnt/firmware
amd64-microcode_3.20160316.3_amd64.deb firmware-ivtv_20161130-3_all.deb
atmel-firmware_1.3-4_all.deb firmware-iwlwifi_20161130-3_all.deb
bluez-firmware_1.2-3_all.deb firmware-libertas_20161130-3_all.deb
dahdi-firmware-nonfree_2.11.1-1_all.deb firmware-linux-free_3.4_all.deb
firmware-amd-graphics_20161130-3_all.deb firmware-misc-nonfree_20161130-3_all.deb
firmware-atheros_20161130-3_all.deb firmware-myricom_20161130-3_all.deb
firmware-bnx2_20161130-3_all.deb firmware-netxen_20161130-3_all.deb
firmware-bnx2x_20161130-3_all.deb firmware-qlogic_20161130-3_all.deb
firmware-brcm80211_20161130-3_all.deb firmware-realtek_20161130-3_all.deb
firmware-cavium_20161130-3_all.deb firmware-samsung_20161130-3_all.deb
firmware-crystalhd_0.0~git20120110.fdd2f19-1_all.deb firmware-siano_20161130-3_all.deb
firmware-intel-sound_20161130-3_all.deb firmware-ti-connectivity_20161130-3_all.deb
firmware-intelwimax_20161130-3_all.deb firmware-zd1211_1.5-4_all.deb
firmware-ipw2x00_20161130-3_all.deb hdmi2usb-fx2-firmware_0.0.0~git20151225-1_all.debThe tail of this thread was split off into another thread. For the current discussion, go here -
https://dev1galaxy.org/viewtopic.php?id=2373
Aha - thats not exactly what I wanted to achieve. My idea was to get the hidden files of /home on the SSD and the other ones on the HD. So yes, /home will be spread, but I would like to have it in a way, that the often accessed conf-files are on the speedy SSD.
That could possibly be accomplished with some creative symlinking.
I would like to have everything except /home on the SSD and /home exclusively on the spinning drive. To make that clear - I know during the installation process I have to setup a /home on the SSD as well. But this one I will not use further. I will try to use the "old" hidden-files from the spinning drive after bulk installation of user-sw to the SSD. If this does not work I will move the hidde-files of the fake /home on the SSD to the spinning drive. Or do I run into trouble here? There might be some manual work, but I think that is not so painful like the installer-partition part.
I think you can get away with two or three partitions. Root filesystem and optional /boot partition on the ssd and /home on the spinning disk. Install everything to the ssd first, with /home as part of the root partition. Then manually edit fstab (and crypttab, I guess) to use the spinning disk as home. Move the new /home to /home.bak or something, so you keep the new config files in case you need them. And maybe make a backup copy of the old config files, in case they get lost or changed. Using the old config files with the new system may or may not work properly in all cases. It'll be trial and error until you get everything the way you want.
I forgot about swap. You want it encrypted. You could either use a swapfile inside an encrypted root partition, or you could make a new lvm on the ssd that includes the swap.
I doubt that newer versions of lightdm will be different. I think the deps are the same as the ascii version. (I know it still wants consolekit.)
Caveat and disclaimer: I hate the debian-installer enough that I maintain my own installer.
Take a look at my post with examples of raid/lvm/luks with refractainstaller. I don't know how to do such a complex setup with d-i, but I'm pretty sure you could do it similar to one or more of my examples.
https://dev1galaxy.org/viewtopic.php?id=2323
If you want your home spread over both disks, then you need to have both disks (or at least part of each disk) included in the volume group (or in a raid array). Then data will be written to both disks (striped). That may increase performance.
If you then want /var, /tmp and swap to be only on the spinning disk, they need to be in a separate lvm or raid array (or not in the volume that includes /home.) The same would be true if you wanted them to only be on the ssd. If you're ok with them being spread over both disks like your home, then one volume group will suffice.
Most of the available wireless firmware packages are installed in the desktop-live. The script to remove them is in /usr/local/bin. Here's the list of packages it removes. Feel free to comment out any lines for packages you want to keep. I see two that are not wireless firmware, and I commented them as an example.
The installer isos have firmware in the /firmware directory, so it can be included in the installation if needed. In case you mess up and accidentally remove a firmware package you want to keep, the packages are also in /firmware in the live isos.
apt-get --purge --yes remove \
# firmware-amd-graphics \
firmware-atheros \
firmware-bnx2 \
firmware-bnx2x \
firmware-brcm80211 \
firmware-intelwimax \
firmware-iwlwifi \
firmware-libertas \
# firmware-linux-nonfree \
firmware-myricom \
firmware-netxen \
firmware-qlogic \
firmware-realtek \
firmware-ti-connectivity \
firmware-zd1211If your lvm is inside an encrypted partition, you can still change the sizes of the logical partitions inside it. This way, everything is encrypted and you enter one password for the whole system. If you want to make the lvm bigger than the physical partition that contains it, you would add other drives/partitions to the volume group and then extend the logical partitions within.
If you're concerned about excessive writes to the ssd, then you probably want to keep it separate from the existing lvm, so it doesn't get used for any of your more active partitions. (When you add drives to a volume group, the combined space is seen as a single container, and data gets written to all parts of it.)
I found three ways to get shutdown and reboot working at the login screen. These all count as workarounds, not a fix.
1. Edit /etc/lightdm/lightdm.conf and change the greeter-user to root. That's probably a bad idea for security reasons.
2. Replace lightdm with lxdm (without recommends) and with the elogind backend/gobject libs, without consolekit. I did need to add libck-connector0.
3. Install consolekit (with lightdm, not lxdm). The approprate libraries will replace the ones for elogind, but elogind will still be installed. Reboot and shutdown will work from the login screen, but from the desktop, they'll just log you out.
Oh, wait. If you run 'pam-auth-update' and uncheck the box for elogind, then shutdown and reboot work in both desktop and login screen. (reboot or cycle through init 1 to get it to change.) This (#3) might actually be working.
Every time I've gone in to mess with polkit stuff, I've been disappointed with the results.
I believe it's possible to do what you want, but you might need to do some of it manually. I've done encrypted lvm installs before, but I've never done it with an existing lvm that had data on it. See these two threads (and some of the links in them):
https://dev1galaxy.org/viewtopic.php?id=674
https://dev1galaxy.org/viewtopic.php?id=2323
The procedure in the debian-installer for encrypted lvm is not at all intuitive. It goes something like this:
Make an encrypted volume from a partition.
Use the encrypted volume for lvm.
Create the logical volumes inside the lvm and assign mountpoints and filesystems for them.
For reference, here's a video of making an encrypted partition, without lvm. The "4" on the end of the file name is because it took me four attempts to get it right, even though I've done it many times. This will give you a sense of the logic used in the installer.
http://distro.ibiblio.org/refracta/misc … rypt-4.ogv
The cinnamon desktop uses connman instead of wicd. Connman and network-manager support vpn. Wicd does not.
At the boot menu, press 'e' to edit the boot command. Add the word, nomodeset, to the linux line. Then ctrl-x to boot. That usually fixes the black screen.
Thanks. I hadn't noticed that. I think I created the extra .desktop file for lxdm in case it ever gets an update - the default is to only show in lxde, so if it ever happens, there will still be one entry. There are two for synaptic, too, in case pkexec doesn't work for you. (I'm beginning to think pkexec has a mind of its own and decides things randomly.)
I tried it again, this time pulling cinnamon from ascii. It seems lightdm wants consolekit, but there's a way around it. And you're right - the power buttons in lightdm don't work, but shutdown/reboot/logout all work from the desktop. I did not install the cinnamon metapackage. I installed what you showed and then had to add cinnamon-core. Something may be missing. It all works when you choose cinnamon from the tasksel window in the installer. Maybe looking at the list produced by aptitude -s install task-cinnamon-desktop would provide the answer. (I'm looking at it now, it's long, and I don't see anything related to consolekit, policykit or elogind.)
Anyway, here's what I did.
# apt-get --no-install-recommends install elogind libpam-elogind
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libelogind0
Recommended packages:
policykit-1
The following NEW packages will be installed:
elogind libelogind0 libpam-elogind
0 upgraded, 3 newly installed, 0 to remove and 5 not upgraded.# apt-get --no-install-recommends install lightdm
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
liblightdm-gobject-1-0 libxklavier16 lightdm-gtk-greeter
Suggested packages:
iso-codes accountsservice upower
Recommended packages:
desktop-base gnome-themes-standard policykit-1
The following NEW packages will be installed:
liblightdm-gobject-1-0 libxklavier16 lightdm lightdm-gtk-greeter
0 upgraded, 4 newly installed, 0 to remove and 5 not upgraded.]# apt-get --no-install-recommends install libpolkit-gobject-1-0-elogind libpolkit-backend-1-0-elogind
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
libpolkit-backend-elogind-1-0 libpolkit-gobject-1-0
libpolkit-gobject-elogind-1-0
The following NEW packages will be installed:
libpolkit-backend-1-0-elogind libpolkit-backend-elogind-1-0
libpolkit-gobject-1-0 libpolkit-gobject-1-0-elogind
libpolkit-gobject-elogind-1-0
0 upgraded, 5 newly installed, 0 to remove and 5 not upgraded.# apt-get --no-install-recommends install cinnamon-session cinnamon-control-center cinnamon-settings-daemon
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
accountsservice apg cinnamon-control-center-data cinnamon-desktop-data
cinnamon-session-common dbus-x11 gir1.2-cvc-1.0 iso-codes
libaccountsservice0 libcinnamon-control-center1 libcinnamon-desktop4
libcinnamon-menu-3-0 libcvc0 libgnomekbd-common libgnomekbd8
libimobiledevice6 libmm-glib0 libnm-glib-vpn1 libnm-glib4 libnm-gtk0
libnm-util2 libplist3 libpulse-mainloop-glib0 libupower-glib1
libupower-glib3 libusbmuxd4 upower
Suggested packages:
gnome-control-center gstreamer1.0-pulseaudio libcanberra-gtk-module
cinnamon-screensaver isoquery libusbmuxd-tools
Recommended packages:
libcanberra-pulse mesa-utils mousetweaks policykit-1-gnome pulseaudio hwdata
usbmuxd modemmanager policykit-1
The following NEW packages will be installed:
accountsservice apg cinnamon-control-center cinnamon-control-center-data
cinnamon-desktop-data cinnamon-session cinnamon-session-common
cinnamon-settings-daemon dbus-x11 gir1.2-cvc-1.0 iso-codes
libaccountsservice0 libcinnamon-control-center1 libcinnamon-desktop4
libcinnamon-menu-3-0 libcvc0 libgnomekbd-common libgnomekbd8
libimobiledevice6 libmm-glib0 libnm-glib-vpn1 libnm-glib4 libnm-gtk0
libnm-util2 libplist3 libpulse-mainloop-glib0 libupower-glib1
libupower-glib3 libusbmuxd4 upower
0 upgraded, 30 newly installed, 0 to remove and 5 not upgraded.I could log in, but that wasn't enough to get to the desktop, so I installed cinnamon-core. A lot more got installed here than what I'm showing, but no consolekit. I can now get to the desktop, and it seems to be working.
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
at-spi2-core caribou cinnamon cinnamon-common cinnamon-screensaver cjs
cups-pk-helper darkpurpy-icon-theme desktop-base dh-python dmz-cursor-theme
gawk gir1.2-accountsservice-1.0 gir1.2-atspi-2.0 gir1.2-caribou-1.0
gir1.2-cinnamondesktop-3.0 gir1.2-clutter-1.0 gir1.2-cmenu-3.0
gir1.2-cogl-1.0 gir1.2-coglpango-1.0 gir1.2-gdesktopenums-3.0
<snip>It looks like libpam-ck-connector is what's pulling in consolekit. But it's only a recommended package, not a dependency. Try installing the cinnamon packages without recommends, and you should be able to do it without consolekit.
Yes, you can just download the package and install it. You might already have a copy of the package in /var/cache/apt/archives/.
I think if you have elogind and libpam-elogind installed first, nothing will pull in consolekit. And you should be safe pulling in parts of cinnamon to get only what you want. That's a common way to have a leaner desktop, regardless of which DE you're using.