September 2018
During testing of Django Mezzanine Cartridge, I encountered an issue when cancelling a migration. I had configured the settings in a certain way, but due to problems involving the ManyToMany field's `through=`, the process halted with a "table already exists" error, preventing the creation of the table and thus stopping the tests.
When you have a file containing a line like `version_number = "19"`, and you want to replace this line using a regular expression but only target the version number, while avoiding the use of pattern symbols for the rest of the line. Additionally, you want to obtain a string that includes `version_number` after replacement.
Here's an English summary of the blog post: "Handling When 'sudo do-release-upgrade' Freezes at 'Setting up libnih1:amd64 (1.0.3-6ubuntu2) ...' This blog post provides a solution for situations where the command 'sudo do-release-upgrade' becomes unresponsive during the setup of libnih1:amd64. The post offers troubleshooting steps and tips to successfully complete the upgrade process without freezing."
Recent Posts
- Skill + CLI over MCP: Replacing Sentry MCP with a multi-profile CLI wrapper
- Turning Raspberry Pi into a Signage Display with Playwright and Chromium Kiosk Mode
- Docker 29 breaks docker push to ECR with 403 Forbidden on GitHub Actions
- How to Add "Copy Full File Path to Clipboard" to Finder's Services Menu
- How to turn Orange Pi Zero 2W into a Web Signage Display
Recent Deliverables
Categories
- Django (66)
- Python (49)
- mac (22)
- Linux (17)
- kubernetes (15)
- iOS (11)
- MySQL (10)
- Raspberry-Pi (8)
- AWS (7)
- PHP (6)
- Javascript (5)
- PC/Etc (5)
- Docker (5)
- Android (4)
- Bicycle (4)
- (4)
- nuxt (3)
- css (3)
- nginx (3)
- Bootstrap (3)
- Flutter (3)
- Shellscript(Bash/Zsh) (3)
- Making (2)
- Windows (2)
- HTML (2)
- (1)
- Ebook (1)
- Rails (1)
- Microcontrollers (1)
- less (1)
- Ansible (1)
- (1)
- (1)