-
Fototrend
Debian GNU/Linux
Új hozzászólás Aktív témák
-
Crvsh3R
senior tag
válasz
ubyegon2
#10797
üzenetére
Ezt értem, csak azt nem, hogy Bookworm esetén miért működött és most miért nem. Annál simán felrakta.
Update:
Közben meg lett a megfejtés, Bookworm-on 13.2 telepítette a default repoból, 14-tól változott a default behavior:"This is going to be quite a long explanation. In order to understand why this is, there are some things about apt that you have to know first.
There are 3 modes to an upgrade with apt.
Only upgrade packages, Do not install or remove any packages. (apt-get upgrade)Upgrade and Install NEW packages if required, but don't remove any (apt upgrade)Upgrade and install NEW packages and Remove packages if necessary (apt/apt-get full-upgrade/dist-upgrade)
Now that we have explained this, we can start talking about Nala. Nala uses python-apt in order to do the apt things. Python-apt has support for upgrade modes 1 and 3, but not 2 which is whatapt upgradeuses.
beforev0.14.0Nala defaulted tofull-upgrade, option 3. There have been many bug reports of upgrades breaking stuff for users of Sid or Ubuntu Devel releases, or sometimes distros who do not manage their repos very well. So with0.14.0we changed the default upgrade mode to option 1. I would have used 2, but it's not available to us, and will be available if I ever finish rewritting it in rust.
This is why you're seeing the discrepancy between nala and apt. If you compare whatnala upgradeis going to do vsapt-get upgrade, You should see that they are the same.
Now, there is a configuration option in/etc/nala/nala.confwhich you can switch the default back to option 3 if you choose too.
Simply go into that file, and change the following option to true, and it will be like Nala was before.# Set to true to make full-upgrade the default full_upgrade = false
If you don't want to change the config you can usenala upgrade --fulland it will be like the old functionality. We also have two aliases for thisnala full-upgradeandnala dist-upgrade, but note there is a bug where the aliases won't automatically update the package lists for you. If you use the config option ornala upgrade --fullthen it still will. This bug will be fixed in the next release.
I think that should be about it, if it's still unclear or you have any further questions, please feel free to ask."
Új hozzászólás Aktív témák
- A Motorolának is a Bose hangol
- Vicces képek
- Milyen billentyűzetet vegyek?
- A fociról könnyedén, egy baráti társaságban
- Kodi és kiegészítői magyar nyelvű online tartalmakhoz (Linux, Windows)
- sh4d0w: Nyitlocker
- Robotporszívók
- Spórolós topik
- Fejhallgató erősítő és DAC topik
- Xiaomi 15T Pro - a téma nincs lezárva
- További aktív témák...
- Játékkulcsok olcsón: Steam, Uplay, GoG, Origin, Xbox, PS stb.
- PC Game Pass előfizetés
- Game Pass Ultimate előfizetések 1 - 36 hónapig azonnali kézbesítéssel a LEGOLCSÓBBAN! AKCIÓ!
- Bitdefender Total Security 3év/3eszköz! - Tökéletes védelem.
- Windows, Office licencek kedvező áron, egyenesen a Microsoft-tól - Automata kézbesítés utalással is!
- HP EliteBook 840 G7 i5-10210U 16GB 512GB FHD 400nit 1 év garancia
- Dell Latitude 5300 13,3" FHD IPS touch, i7 8665U, 8-16GB RAM, SSD, jó akku, számla, 6 hó gar
- Apple iPhone 13 Pro Max Graphite ProMotion 120 Hz, Pro kamerák 128 GB-100%-3hó gari!
- Lenovo ThinkPad L13 Gen 3 i5-1245U FHD+ 16GB 512GB 1 év teljeskörű garancia
- Nvidia Quadro M2000/ P2000/ P4000/ RTX 4000/ RTX 5000/ RTX A2000
Állásajánlatok
Cég: Central PC számítógép és laptop szerviz - Pécs
Város: Pécs
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest

