Comments (9)
The tool you linked to looks nice. This would obviously be useful to a user who has installed Mint, made changes by installing PPAs and packages, and then wishes to upgrade to a new release.
Of course, everything this tool does can be done from the command line. Specifically, take a look at apt dist-upgrade
, which is what I think this tool is doing.
Using Cubic you can chose to customize the latest release, so there should be no need to upgrade to a new release within Cubic itself.
In this case, the procedure should be:
- Download the latest ISO for the release you want to upgrade to.
- Launch Cubic, create a new project, and select this ISO to customize.
- Execute
apt-add-repository <official Mint repository>
for each official repository (just to ensue that each official repository is enabled). - Execute
apt upgrade
orapt dist-upgrade
orapt full-upgrade
. (If you've started with the most recent ISO in step 1, you should only needapt upgrade
. Also, there will be no package conflicts if you start with an official ISO). - Then, add your custom PPAs using
apt-add-repository <non-official repository>
for each non-official repository. (If the PPA is no longer available for your upgraded release, you will be notified, and you will not be able to add the PPA). - Then install the packages from those PPAs using
apt install <non-official package name>
. - Lastly, apply your other customizations (such as configuring themes, or configuring software).
This approach will ensure there are no package conflicts while creating the new ISO.
However if you have an old Cubic project and you want to upgrade that to a newer release, you should:
- Launch Cubic and open your existing project.
- Remove each non-official package (i.e. packages from non-official PPAs) using
apt remove <non-official package>
for each non-official package. - Remove each each non-official repository using
apt-add-repository --remove <non-official repository>
for each non-official repository. - Execute
apt-add-repository <official Mint repository>
for each official repository (just to ensue that each official repository is enabled). - Execute
apt upgrade
orapt dist-upgrade
orapt full-upgrade
. (You probably want to usedist-upgrade
since this has a has a "smart" conflict resolution system). - Then, re-add your custom PPAs using
apt-add-repository <non-official repository>
for each non-official repository. (If the PPA is no longer available for your upgraded release, you will be notified, and you will not be able to add the PPA). - Then install the packages from those PPAs using
apt install <non-official package name>
. - Lastly, apply your other customizations as necessary (such as configuring themes, or configuring software).
This approach will ensure there are no package conflicts while upgrading an existing Cubic project.
from cubic.
Thank you, P.J.
EDIT: OK, sorry if I sound like a baby that wants to be spoon-fed, but does apt dist-upgrade
do the actual upgrade, or what?
EDIT: And another thing: what is the point of re-adding the official repositories (second set of instructions, step four if you're not going to touch it to begin with?
from cubic.
About the first edit... of course it was. I just made an ass out of myself. Please overlook my behaviour.
from cubic.
To answer your last "Edit" question, the reason you may want to re-add the official repositories is because the official repositories may not be enabled when you are customizing the ISO, and the official repositories may also not be enabled in the Live Environment. (This may not be the case for Linux Mint (?), but it is the case for other Ubuntu based distros).
The installer actually sets all of the official repositories after installation, so some of them are not enabled when you are in Cubic's Terminal environment or the Live ISO environment. (For example the universe
repository is not enabled in Ubuntu until after your installation has completed).
I think this is done so software is added from the "cdrom" instead of via the Internet; this obviously helps avoid errors if the user doesn't have Internet access during installation, and it saves time and bandwidth during installation.
Therefore, as a precaution, re-adding the official repositories avoids potential issues. If the repositories are already enabled, no changes are made, but if they are not enabled, they will be added. In other words, it can't hurt, but it may help.
from cubic.
About upgrading, I didn't use mintupgrade to upgrade from 20.2 to 20.3; I used dist-upgrade to upgrade so my bad.
This time around, would I just use the mintupgrade2 command from Cubic or are you not sure yet?
Any answer would suffice.
And thank you for helping me so far.
EDIT: Anyhow, whatever you answer, when the times to upgrade to Mint 21, I will avail myself to your help.
I set that time because there is a logic in that if you witness the new update software, you can get more questions answered at that time.
Thank you very much.
from cubic.
Now, I said that I will ask you again when it's time to upgrade and I will, but first, I just need to answer one question before i do.
The steps you listed in the thread are general steps to upgrade to a later version of any Ubuntu-based OS, right?
EDIT: What I meant was these steps outlined in that link were steps to upgrade one edition of an Ubuntu-based OS to the later version of that Ubuntu-based OS, right?
EDIT: The reason I'm asking for steps on doing a full-blown milestone upgrade is that I have two programs that I am holding due to the versions breaking down.
OK, I'm done talking for now. I'll back off.
from cubic.
OK, one more and I swear I will stop!
Why do I have to delete non-official packages prior to upgrading?
NOW, I'll back off!
from cubic.
If a package is installed on your system, and the package is no longer available for the newer OS release, you will have package dependency problems.
This doesn't happen for official packages because the developers and package maintainers take care of it.
But the developer or package maintainer of an unofficial package does not have an obligation to make sure their package works on your specific distro or your specific version of your distro.
Therefore, in my opinion, it is a good practice to remove an unoffical package, update your distro, and then simply reinstall the unofficial package. At that point, you'll be notified if the package can not be (re)installed, but this will not have impacted your distro upgrade.
from cubic.
A follow-up question (I guess I can't resist, can I?): if the package is held back, does it still risk dependency problems?
I ask because I have two sorts of packages held back at the moment: Samba (official to Mint) and Wine (which is pointing to WineHQ's repository). These are held back because the later versions have bugs that I don't like.
If I upgraded the OS holding those back, will they interfere?
from cubic.
Related Issues (20)
- Can the zstd compression level settings be modified? HOT 3
- Compressed ISO used xz are security risk ? HOT 2
- Have problems if editing an Ubuntu noble ISO in an host Ubuntu Focal ? HOT 4
- Ubuntu 24.04 (beta) bootstrapper/installer seemingly crashes under install of live image
- Cubic reference removal from project HOT 4
- Any plans to make cubic properely support ubuntu 24.04? HOT 3
- Cubic breaks iso HOT 2
- Why can't I access the Typical and Minimal packages page? HOT 2
- Missing user after new install of Ubuntu 22.04 HOT 3
- How to customize the Plymouth Splash Screen on Ubuntu 24.04?
- Virtual environment state save HOT 1
- multi-user mode broken on 24.04 variants
- generated .iso doesn't boot once burnt to USB stick
- Cubic doesn't work together with autoinstall identity. HOT 1
- 24.04 Custom ISOs not reflecting snap removals / some installed app icons not displayed HOT 2
- Errors when install cubic on ubuntu 24.04 HOT 2
- i have error while mount Ubuntu 18.04 on cubic HOT 1
- cubic project folder selection page HOT 2
- Change Kernel version in Virtual Environment HOT 2
- Cubic can be exploited to allow an unprivileged user to elevate their privileges to root on the host system HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cubic.